summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2015-10-30 13:49:18 +0100
committerDavid S. Miller <davem@davemloft.net>2015-11-02 15:28:56 -0500
commit07f56c616d06b966c0a63d16172935b257a6a8d4 (patch)
tree8dfef04de8f8c0a95dbf5a05e2ade838b4e06a7c /drivers/net
parentd0cb48cd19ce1e249cd350aa67fbf63560292266 (diff)
net: encx24j600: Export missing SPI module alias information
The driver Kconfig symbol is tristate which means that it can be built as a module but the module alias information is not added to the module info so module autoload won't work since user-space won't have the information. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/microchip/encx24j600.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/microchip/encx24j600.c b/drivers/net/ethernet/microchip/encx24j600.c
index c2dafc1c53de..2056b719c262 100644
--- a/drivers/net/ethernet/microchip/encx24j600.c
+++ b/drivers/net/ethernet/microchip/encx24j600.c
@@ -1098,6 +1098,7 @@ static const struct spi_device_id encx24j600_spi_id_table[] = {
{ .name = "encx24j600" },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(spi, encx24j600_spi_id_table);
static struct spi_driver encx24j600_spi_net_driver = {
.driver = {