]> rtime.felk.cvut.cz Git - mf6xx.git/blobdiff - src/uio/mf624/kernel/mf624.c
UIO: DEFINE_PCI_DEVICE_TABLE
[mf6xx.git] / src / uio / mf624 / kernel / mf624.c
index e8dcebbefeea735f3925d9a2042afcc771cc8ea5..93c5198337fd719c090bd10ec6635307e2f858b2 100755 (executable)
@@ -224,13 +224,8 @@ static void mf624_pci_remove(struct pci_dev *dev)
        kfree(info);
 }
 
-static struct pci_device_id mf624_pci_id[] __devinitdata = {
-       {
-               .vendor = PCI_VENDOR_ID_HUMUSOFT,
-               .device = PCI_DEVICE_ID_MF624,
-               .subvendor = PCI_SUBVENDOR_ID_HUMUSOFT,
-               .subdevice = PCI_SUBDEVICE_DEVICE,
-       },
+static DEFINE_PCI_DEVICE_TABLE(mf624_pci_id) = {
+       { PCI_DEVICE(PCI_VENDOR_ID_HUMUSOFT, PCI_DEVICE_ID_MF624), 0,},
        { 0, }
 };