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

Commit 1a0176da authored by Jingoo Han's avatar Jingoo Han Committed by David S. Miller
Browse files

net: ksz884x: 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>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8ab6a1f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7225,7 +7225,7 @@ static int pcidev_suspend(struct pci_dev *pdev, pm_message_t state)

static char pcidev_name[] = "ksz884xp";

static struct pci_device_id pcidev_table[] = {
static DEFINE_PCI_DEVICE_TABLE(pcidev_table) = {
	{ PCI_VENDOR_ID_MICREL_KS, 0x8841,
		PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
	{ PCI_VENDOR_ID_MICREL_KS, 0x8842,