diff options
| author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-10-12 15:55:40 -0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-10-14 10:11:48 -0400 |
| commit | 558c5eb58a5c029745b29558782d528b05aba8a5 (patch) | |
| tree | e1e125350742e48928c8a5e8f47362df8fee9bf1 /tools/perf/scripts/python | |
| parent | ipv6: correctly add local routes when lo goes up (diff) | |
| download | linux-558c5eb58a5c029745b29558782d528b05aba8a5.tar.gz linux-558c5eb58a5c029745b29558782d528b05aba8a5.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
