Re: [PATCH] hwmon: (scpi) Fix module autoload

2016-11-09 Thread Guenter Roeck
On 11/07/2016 12:31 PM, Javier Martinez Canillas wrote: If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the module alias information using the MODULE_

[PATCH] hwmon: (scpi) Fix module autoload

2016-11-07 Thread Javier Martinez Canillas
If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the module alias information using the MODULE_DEVICE_TABLE() macro. Before this patch: $ modinfo drive