提交 553ebb8e 编写于 作者: A Alessio Igor Bogani 提交者: Greg Kroah-Hartman

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: NAlessio Igor Bogani <alessio.bogani@elettra.eu>
Acked-by: NMartyn Welch <martyn@welchs.me.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 76deefa3
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册