mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Acked-by: Martyn Welch <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
76deefa3b7
commit
553ebb8e40
2 changed files with 4 additions and 0 deletions
|
|
@ -47,6 +47,8 @@ static const struct pci_device_id ca91cx42_ids[] = {
|
|||
{ },
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(pci, ca91cx42_ids);
|
||||
|
||||
static struct pci_driver ca91cx42_driver = {
|
||||
.name = driver_name,
|
||||
.id_table = ca91cx42_ids,
|
||||
|
|
|
|||
|
|
@ -50,6 +50,8 @@ static const struct pci_device_id tsi148_ids[] = {
|
|||
{ },
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(pci, tsi148_ids);
|
||||
|
||||
static struct pci_driver tsi148_driver = {
|
||||
.name = driver_name,
|
||||
.id_table = tsi148_ids,
|
||||
|
|
|
|||
Loading…
Reference in a new issue