diff options
author | Alessio Igor Bogani <alessio.bogani@elettra.eu> | 2016-06-14 10:36:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-31 07:20:16 -0400 |
commit | 553ebb8e40d5a9135be036cc6ebfdf40bdc1f710 (patch) | |
tree | edcf6851181c6532f2322abb57bb30cfbc2d8ac5 /drivers/vme | |
parent | 76deefa3b797cc2014581cb0337dc207e9ab3a3d (diff) |
vme: Fix module autoload
These drivers have a PCI device ID table but the PCI module
alias information is not created so module autoloading won't work.
Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Acked-by: Martyn Welch <martyn@welchs.me.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vme')
-rw-r--r-- | drivers/vme/bridges/vme_ca91cx42.c | 2 | ||||
-rw-r--r-- | drivers/vme/bridges/vme_tsi148.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/vme/bridges/vme_ca91cx42.c b/drivers/vme/bridges/vme_ca91cx42.c index da29dbe6c9c8..6b5ee896af63 100644 --- a/drivers/vme/bridges/vme_ca91cx42.c +++ b/drivers/vme/bridges/vme_ca91cx42.c | |||
@@ -47,6 +47,8 @@ static const struct pci_device_id ca91cx42_ids[] = { | |||
47 | { }, | 47 | { }, |
48 | }; | 48 | }; |
49 | 49 | ||
50 | MODULE_DEVICE_TABLE(pci, ca91cx42_ids); | ||
51 | |||
50 | static struct pci_driver ca91cx42_driver = { | 52 | static struct pci_driver ca91cx42_driver = { |
51 | .name = driver_name, | 53 | .name = driver_name, |
52 | .id_table = ca91cx42_ids, | 54 | .id_table = ca91cx42_ids, |
diff --git a/drivers/vme/bridges/vme_tsi148.c b/drivers/vme/bridges/vme_tsi148.c index 2d3ba1a1d42d..fc1b634b969a 100644 --- a/drivers/vme/bridges/vme_tsi148.c +++ b/drivers/vme/bridges/vme_tsi148.c | |||
@@ -50,6 +50,8 @@ static const struct pci_device_id tsi148_ids[] = { | |||
50 | { }, | 50 | { }, |
51 | }; | 51 | }; |
52 | 52 | ||
53 | MODULE_DEVICE_TABLE(pci, tsi148_ids); | ||
54 | |||
53 | static struct pci_driver tsi148_driver = { | 55 | static struct pci_driver tsi148_driver = { |
54 | .name = driver_name, | 56 | .name = driver_name, |
55 | .id_table = tsi148_ids, | 57 | .id_table = tsi148_ids, |