Re: [PATCH 2/2] net: wan: slic_ds26522: Export OF module alias information

From: David Miller
Date: Fri Oct 14 2016 - 10:13:57 EST

From: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>
Date: Wed, 12 Oct 2016 15:55:41 -0300

> When the device is registered via OF, the OF table is used to match the
> driver instead of the SPI device ID table, but the entries in the later
> are used as aliasses to load the module if the driver was not built-in.
> This is because the SPI core always reports an SPI module alias instead
> of an OF one, but that could change so it's better to always export it.
> Signed-off-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>