All of lore.kernel.org
 help / color / mirror / Atom feed
From: j.courtoux@gmail.com (jo)
To: linux-arm-kernel@lists.infradead.org
Subject: In driver's A request_threaded_irq, call a driver's B irq_handler_t function.
Date: Tue, 28 May 2013 14:19:21 +0200	[thread overview]
Message-ID: <51A4A0C9.8080300@gmail.com> (raw)

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.

                 reply	other threads:[~2013-05-28 12:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51A4A0C9.8080300@gmail.com \
    --to=j.courtoux@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.