summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2016-10-12 15:55:40 -0300
committerDavid S. Miller <davem@davemloft.net>2016-10-14 10:11:48 -0400
commit558c5eb58a5c029745b29558782d528b05aba8a5 (patch)
treee1e125350742e48928c8a5e8f47362df8fee9bf1 /.gitattributes
parenta220445f9f4382c36a53d8ef3e08165fa27f7e2c (diff)
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 '.gitattributes')
0 files changed, 0 insertions, 0 deletions