Skip to content

Commit

Permalink
net: encx24j600: Export missing SPI module alias information
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Javier Martinez Canillas authored and David S. Miller committed Nov 2, 2015
1 parent d0cb48c commit 07f56c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/microchip/encx24j600.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 07f56c6

Please sign in to comment.