On Wed, Feb 02, 2011 at 08:36:27PM +0000, Hennerich, Michael wrote: > Greg KH wrote on 2011-02-02: > >> +MODULE_AUTHOR("Michael Hennerich > >> +<hennerich@xxxxxxxxxxxxxxxxxxxx>"); > >> +MODULE_DESCRIPTION("Sysfs based trigger for the iio subsystem"); > >> +MODULE_LICENSE("GPL v2"); > > What is going to cause this module to be loaded in the system? Are > > you relying on userspace to load it if it "knows" it is needed? > > That's really not nice, we should trigger off of some type of hardware. > Well again - I don't understand what you mean here - you can load this > driver as module or more likely build into the kernel - which both > works fine. You need a MODULE_ALIAS so udev/modprobe can figure out how to load the right driver when the device appears on the bus. -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html