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

[PATCH 4/8] atm: idt77252: use DEFINE_PCI_DEVICE_TABLE macro

From: Jingoo Han <hidden>
Date: 2013-11-28 03:40:33
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/idt77252.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c
index 1bdf104..0f9fc76 100644
--- a/drivers/atm/idt77252.c
+++ b/drivers/atm/idt77252.c
@@ -3730,7 +3730,7 @@ err_out_disable_pdev:
 	return err;
 }
 
-static struct pci_device_id idt77252_pci_tbl[] =
+static DEFINE_PCI_DEVICE_TABLE(idt77252_pci_tbl) =
 {
 	{ PCI_VDEVICE(IDT, PCI_DEVICE_ID_IDT_IDT77252), 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