From: françois romieu Date: Fri, 30 Sep 2011 00:39:23 +0000 (+0000) Subject: tehuti: shorten PCI device table. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a355d865f99d0dbbaba5595416e292592bd347dd;p=openwrt%2Fstaging%2Fblogic.git tehuti: shorten PCI device table. Signed-off-by: Francois Romieu Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/tehuti/tehuti.c b/drivers/net/ethernet/tehuti/tehuti.c index 371ab7abd377..1151cf994cde 100644 --- a/drivers/net/ethernet/tehuti/tehuti.c +++ b/drivers/net/ethernet/tehuti/tehuti.c @@ -67,10 +67,10 @@ #include "tehuti.h" static DEFINE_PCI_DEVICE_TABLE(bdx_pci_tbl) = { - {0x1FC9, 0x3009, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, - {0x1FC9, 0x3010, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, - {0x1FC9, 0x3014, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, - {0} + { PCI_VDEVICE(TEHUTI, 0x3009), }, + { PCI_VDEVICE(TEHUTI, 0x3010), }, + { PCI_VDEVICE(TEHUTI, 0x3014), }, + { 0 } }; MODULE_DEVICE_TABLE(pci, bdx_pci_tbl);