netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro
@ 2013-11-28  3:37 Jingoo Han
  2013-11-28  3:38 ` [PATCH 2/8] atm: fore200e: " Jingoo Han
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Jingoo Han @ 2013-11-28  3:37 UTC (permalink / raw)
  To: 'David S. Miller'
  Cc: 'Chas Williams', netdev, linux-atm-general,
	'Jingoo Han', 'Francois Romieu'

This macro is used to create a struct pci_device_id array.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/atm/eni.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c
index b1955ba..846fc9e 100644
--- a/drivers/atm/eni.c
+++ b/drivers/atm/eni.c
@@ -2283,7 +2283,7 @@ err_disable:
 }
 
 
-static struct pci_device_id eni_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(eni_pci_tbl) = {
 	{ PCI_VDEVICE(EF, PCI_DEVICE_ID_EF_ATM_FPGA), 0 /* FPGA */ },
 	{ PCI_VDEVICE(EF, PCI_DEVICE_ID_EF_ATM_ASIC), 1 /* ASIC */ },
 	{ 0, }
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-11-28 20:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-28  3:37 [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
2013-11-28  3:38 ` [PATCH 2/8] atm: fore200e: " Jingoo Han
2013-11-28  3:39 ` [PATCH 3/8] atm: he: " Jingoo Han
2013-11-28  3:40 ` [PATCH 4/8] atm: idt77252: " Jingoo Han
2013-11-28  3:41 ` [PATCH 5/8] atm: iphase: " Jingoo Han
2013-11-28  3:41 ` [PATCH 6/8] atm: lanai: " Jingoo Han
2013-11-28  3:42 ` [PATCH 7/8] atm: nicstar: " Jingoo Han
2013-11-28  3:43 ` [PATCH 8/8] atm: solos-pci: " Jingoo Han
2013-11-28  4:39 ` [PATCH 1/8] atm: eni: " Jingoo Han
2013-11-28 20:48   ` David Miller
2013-11-28  4:44 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).