* want to register another driver on the same PCI id.
*/
static const struct pci_device_id pci_tbl[] = {
- { PCI_VDEVICE(AMD, 0x7443), 0, },
- { PCI_VDEVICE(AMD, 0x746b), 0, },
- { 0, }, /* terminate list */
+ { PCI_VDEVICE(AMD, 0x7443) },
+ { PCI_VDEVICE(AMD, 0x746b) },
+ { } /* terminate list */
};
MODULE_DEVICE_TABLE(pci, pci_tbl);
}
static const struct pci_device_id cavium_rng_pf_id_table[] = {
- { PCI_DEVICE(PCI_VENDOR_ID_CAVIUM, 0xa018), 0, 0, 0}, /* Thunder RNM */
- {0,},
+ { PCI_DEVICE(PCI_VENDOR_ID_CAVIUM, 0xa018) }, /* Thunder RNM */
+ { },
};
MODULE_DEVICE_TABLE(pci, cavium_rng_pf_id_table);
* want to register another driver on the same PCI id.
*/
static const struct pci_device_id pci_tbl[] = {
- { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_LX_AES), 0, },
- { 0, }, /* terminate list */
+ { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_LX_AES) },
+ { } /* terminate list */
};
MODULE_DEVICE_TABLE(pci, pci_tbl);