lkml.org 
[lkml]   [2010]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Testing to see if a driver is loaded
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..)


\
 
 \ /
  Last update: 2010-06-15 01:57    [W:0.040 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site