16 Jul
2015
16 Jul
'15
2:55 p.m.
On Thu, Jul 16, 2015 at 01:47:41PM +0200, Paul Bolle wrote:
On do, 2015-07-16 at 12:00 +0100, Mark Brown wrote:
You've got platform_device and platform_driver confused I think.
I did? You mean that creating a platform_DRIVER triggers that MODALIAS=platform:{...] uevent?
No, in that case you've not understood what the MODULE_ALIAS is for. It's there so that userspace knows which module to load if it gets a device with no driver, it goes in the driver not in the code registering the device.