Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: tulip: use DEFINE_PCI_DEVICE_TABLE

This macro is used to create a struct pci_device_id array.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Jingoo Han and committed by
David S. Miller
8ab6a1f2 1eb850c7

+1 -1
+1 -1
drivers/net/ethernet/dec/tulip/de4x5.c
··· 2328 2328 pci_disable_device (pdev); 2329 2329 } 2330 2330 2331 - static struct pci_device_id de4x5_pci_tbl[] = { 2331 + static DEFINE_PCI_DEVICE_TABLE(de4x5_pci_tbl) = { 2332 2332 { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP, 2333 2333 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, 2334 2334 { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP_PLUS,