Thread (11 messages) 11 messages, 2 authors, 2013-11-28
STALE4584d

[PATCH 8/8] atm: solos-pci: use DEFINE_PCI_DEVICE_TABLE macro

From: Jingoo Han <hidden>
Date: 2013-11-28 03:43:40
Subsystem: atm, the rest · Maintainers: Chas Williams, Linus Torvalds

This macro is used to create a struct pci_device_id array.

Signed-off-by: Jingoo Han <redacted>
---
 drivers/atm/solos-pci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c
index 32784d1..f718311 100644
--- a/drivers/atm/solos-pci.c
+++ b/drivers/atm/solos-pci.c
@@ -1461,7 +1461,7 @@ static void fpga_remove(struct pci_dev *dev)
 	kfree(card);
 }
 
-static struct pci_device_id fpga_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(fpga_pci_tbl) = {
 	{ 0x10ee, 0x0300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
 	{ 0, }
 };
-- 
1.7.10.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help