Commit 6b1aa9b0 authored by Alessandro Rubini's avatar Alessandro Rubini

kernel/spec: add MODULE_DEVICE_TABLE so it autoloads at boot

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 1353b7b0
...@@ -183,6 +183,7 @@ DEFINE_PCI_DEVICE_TABLE(spec_idtable) = { ...@@ -183,6 +183,7 @@ DEFINE_PCI_DEVICE_TABLE(spec_idtable) = {
{ PCI_DEVICE(PCI_VENDOR_ID_GENNUM, PCI_DEVICE_ID_GN4124) }, { PCI_DEVICE(PCI_VENDOR_ID_GENNUM, PCI_DEVICE_ID_GN4124) },
{ 0,}, { 0,},
}; };
MODULE_DEVICE_TABLE(pci, spec_idtable);
static struct pci_driver spec_driver = { static struct pci_driver spec_driver = {
.name = "spec", .name = "spec",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment