Skip to content

Commit 07f56c6

Browse files
Javier Martinez Canillasdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d0cb48c commit 07f56c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/microchip/encx24j600.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,7 @@ static const struct spi_device_id encx24j600_spi_id_table[] = {
10981098
{ .name = "encx24j600" },
10991099
{ /* sentinel */ }
11001100
};
1101+
MODULE_DEVICE_TABLE(spi, encx24j600_spi_id_table);
11011102

11021103
static struct spi_driver encx24j600_spi_net_driver = {
11031104
.driver = {

0 commit comments

Comments
 (0)