[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <004c01ceebeb$dc04b120$940e1360$%han@samsung.com>
Date: Thu, 28 Nov 2013 12:42:28 +0900
From: Jingoo Han <jg1.han@...sung.com>
To: "'David S. Miller'" <davem@...emloft.net>
Cc: 'Chas Williams' <chas@....nrl.navy.mil>, netdev@...r.kernel.org,
linux-atm-general@...ts.sourceforge.net,
'Jingoo Han' <jg1.han@...sung.com>,
'Andy Shevchenko' <andriy.shevchenko@...ux.intel.com>
Subject: [PATCH 7/8] atm: nicstar: use DEFINE_PCI_DEVICE_TABLE macro
This macro is used to create a struct pci_device_id array.
Signed-off-by: Jingoo Han <jg1.han@...sung.com>
---
drivers/atm/nicstar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/atm/nicstar.c b/drivers/atm/nicstar.c
index 5aca5f4..7353d41 100644
--- a/drivers/atm/nicstar.c
+++ b/drivers/atm/nicstar.c
@@ -260,7 +260,7 @@ static void nicstar_remove_one(struct pci_dev *pcidev)
kfree(card);
}
-static struct pci_device_id nicstar_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(nicstar_pci_tbl) = {
{ PCI_VDEVICE(IDT, PCI_DEVICE_ID_IDT_IDT77201), 0 },
{0,} /* terminate list */
};
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists