Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alessio Igor Bogani and committed by
Greg Kroah-Hartman
553ebb8e 76deefa3

+4
+2
drivers/vme/bridges/vme_ca91cx42.c
··· 47 47 { }, 48 48 }; 49 49 50 + MODULE_DEVICE_TABLE(pci, ca91cx42_ids); 51 + 50 52 static struct pci_driver ca91cx42_driver = { 51 53 .name = driver_name, 52 54 .id_table = ca91cx42_ids,
+2
drivers/vme/bridges/vme_tsi148.c
··· 50 50 { }, 51 51 }; 52 52 53 + MODULE_DEVICE_TABLE(pci, tsi148_ids); 54 + 53 55 static struct pci_driver tsi148_driver = { 54 56 .name = driver_name, 55 57 .id_table = tsi148_ids,