Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1501028
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] net: wan: slic_ds26522: add SPI device ID table to fix module autoload |
| Date | 2016-10-14 16:20 +0200 |
| Message-ID | <ssbv3-2mx-17@gated-at.bofh.it> (permalink) |
| References | <srwUW-8js-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Javier Martinez Canillas <javier@osg.samsung.com> Date: Wed, 12 Oct 2016 15:55:40 -0300 > 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> Applied.
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 1/2] net: wan: slic_ds26522: add SPI device ID table to fix module autoload David Miller <davem@davemloft.net> - 2016-10-14 16:20 +0200
csiph-web