OSDN Git Service

lan743x: add MODULE_DEVICE_TABLE for module loading alias
authorTim Harvey <tharvey@gateworks.com>
Tue, 16 Jun 2020 15:31:58 +0000 (08:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Jun 2020 21:01:14 +0000 (14:01 -0700)
commitea12fe9dee97d1f284ee980845444859cfcb307d
tree62dbdc963f268938d1c2339db72d8d495f07b0e4
parent60833d54d56c21e7538296eb2e00e104768fd047
lan743x: add MODULE_DEVICE_TABLE for module loading alias

Without a MODULE_DEVICE_TABLE the attributes are missing that create
an alias for auto-loading the module in userspace via hotplug.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan743x_main.c