Re: Testing to see if a driver is loaded

From: Robert Hancock
Date: Mon Jun 14 2010 - 19:54:15 EST

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..)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at