From: Robert Hancock <hancockrwd@gmail.com>
To: Robert Emanuele <rob@emanuele.us>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Testing to see if a driver is loaded
Date: Mon, 14 Jun 2010 17:53:29 -0600 [thread overview]
Message-ID: <4C16C0F9.8090402@gmail.com> (raw)
In-Reply-To: <AANLkTilZkfvBiwliJ6JKXfvS0V3cvO_AAIj6quegvYgq@mail.gmail.com>
On 06/12/2010 10:33 PM, Robert Emanuele wrote:
> Greetings once again,
>
> I was wondering if there is a simple way to test if a driver is loaded
> from within another driver's probe? I have one driver that depends on
> another. I see several *_find_device functions in
> include/linux/device.h. I haven't found a "find driver" nor an
> arbitrary way of doing that.
>
> Thanks for any guidance,
There's not a simple answer, it depends what you are trying to achieve
(i.e. in what way is the driver dependent on the other one..)
prev parent reply other threads:[~2010-06-14 23:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-13 4:33 Testing to see if a driver is loaded Robert Emanuele
[not found] ` <AANLkTik-xhwWwE0YXgkeETPtZZH5ze-_wt-9gOy2fBoq@mail.gmail.com>
2010-06-14 19:04 ` Robert Emanuele
2010-06-14 23:53 ` Robert Hancock [this message]
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=4C16C0F9.8090402@gmail.com \
--to=hancockrwd@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rob@emanuele.us \
/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.