mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
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>
This commit is contained in:
parent
60833d54d5
commit
ea12fe9dee
1 changed files with 2 additions and 0 deletions
|
@ -3091,6 +3091,8 @@ static const struct pci_device_id lan743x_pcidev_tbl[] = {
|
|||
{ 0, }
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(pci, lan743x_pcidev_tbl);
|
||||
|
||||
static struct pci_driver lan743x_pcidev_driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.id_table = lan743x_pcidev_tbl,
|
||||
|
|
Loading…
Reference in a new issue