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

2017-01-02 Thread Javier Martinez Canillas
On 01/02/2017 01:24 PM, Arnd Bergmann wrote: > On Monday, January 2, 2017 1:13:24 PM CET Javier Martinez Canillas wrote: >> Hello Arnd, >> >> On 01/02/2017 01:05 PM, Arnd Bergmann wrote: >>> On Monday, January 2, 2017 12:38:02 PM CET Javier Martinez Canillas wrote: If the driver is built as a

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

2017-01-02 Thread Arnd Bergmann
On Monday, January 2, 2017 1:13:24 PM CET Javier Martinez Canillas wrote: > Hello Arnd, > > On 01/02/2017 01:05 PM, Arnd Bergmann wrote: > > 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 >

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

2017-01-02 Thread Javier Martinez Canillas
Hello Arnd, On 01/02/2017 01:05 PM, Arnd Bergmann wrote: > 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

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

2017-01-02 Thread Arnd Bergmann
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 v

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

2017-01-02 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 if the device isn't registered via OF. Export the module alias information using the MODULE_DEVICE_TABLE() macro