[PATCH] crypto: picoxcell - Fix module autoload for non-OF registration

Arnd Bergmann arnd at arndb.de
Mon Jan 2 08:05:32 PST 2017


On Monday, January 2, 2017 12:38:02 PM CET 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 if the device isn't registered via OF.
> 
> Export the module alias information using the MODULE_DEVICE_TABLE() macro.

I think we can just remove the table, as the platform only supports
booting through DT anyway.

	Arnd



More information about the linux-arm-kernel mailing list