Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ab6a1f2 authored by Jingoo Han's avatar Jingoo Han Committed by David S. Miller
Browse files

net: tulip: use DEFINE_PCI_DEVICE_TABLE



This macro is used to create a struct pci_device_id array.

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarGrant Grundler <grundler@parisc-linux.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1eb850c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2328,7 +2328,7 @@ static void de4x5_pci_remove(struct pci_dev *pdev)
	pci_disable_device (pdev);
}

static struct pci_device_id de4x5_pci_tbl[] = {
static DEFINE_PCI_DEVICE_TABLE(de4x5_pci_tbl) = {
        { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP,
          PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
        { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP_PLUS,