summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2016-10-12 21:55:40 +0300
committerDavid S. Miller <davem@davemloft.net>2016-10-14 17:11:48 +0300
commit558c5eb58a5c029745b29558782d528b05aba8a5 (patch)
treee1e125350742e48928c8a5e8f47362df8fee9bf1 /certs
parenta220445f9f4382c36a53d8ef3e08165fa27f7e2c (diff)
downloadlinux-558c5eb58a5c029745b29558782d528b05aba8a5.tar.xz
net: wan: slic_ds26522: add SPI device ID table to fix module autoload
If the driver is built as a module, module alias information isn't filled so the module won't be autoloaded. Add a SPI device ID table and use the MODULE_DEVICE_TABLE() macro so the information is exported in the module. Before this patch: $ modinfo drivers/net/wan/slic_ds26522.ko | grep alias $ After this patch: $ modinfo drivers/net/wan/slic_ds26522.ko | grep alias alias: spi:ds26522 Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions