File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
drivers/net/ethernet/microchip/lan865x Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -423,10 +423,11 @@ static void lan865x_remove(struct spi_device *spi)
423
423
free_netdev (priv -> netdev );
424
424
}
425
425
426
- static const struct spi_device_id spidev_spi_ids [] = {
426
+ static const struct spi_device_id lan865x_ids [] = {
427
427
{ .name = "lan8650" },
428
428
{},
429
429
};
430
+ MODULE_DEVICE_TABLE (spi , lan865x_ids );
430
431
431
432
static const struct of_device_id lan865x_dt_ids [] = {
432
433
{ .compatible = "microchip,lan8650" },
@@ -441,7 +442,7 @@ static struct spi_driver lan865x_driver = {
441
442
},
442
443
.probe = lan865x_probe ,
443
444
.remove = lan865x_remove ,
444
- .id_table = spidev_spi_ids ,
445
+ .id_table = lan865x_ids ,
445
446
};
446
447
module_spi_driver (lan865x_driver );
447
448
You can’t perform that action at this time.
0 commit comments