linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* In driver's A request_threaded_irq, call a driver's B irq_handler_t function.
@ 2013-05-28 12:19 jo
  0 siblings, 0 replies; only message in thread
From: jo @ 2013-05-28 12:19 UTC (permalink / raw)
  To: linux-arm-kernel

In my project i need to call a driver name B when irq is wake up by 
driver A. So driver A is listening on GPIO and in probe 
request_threaded_irq. In this request_threaded_irq i need to call my 
specific function thread_fn which is in the driver A. Is it possible 
because I've try with pointers and other stuff but nothing work. On 
compile I've got error, or on my board driver doesn't work.
Driver work if all part of two driver are in one driver, but i need to 
use a generic driver A to use with driver B and in a near future a driver C.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-28 12:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-28 12:19 In driver's A request_threaded_irq, call a driver's B irq_handler_t function jo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).