[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1204800947-21569-7-git-send-email-jonas@southpole.se>
Date: Thu, 6 Mar 2008 11:55:44 +0100
From: Jonas Bonn <jonas@...thpole.se>
To: jonas@...thpole.se, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, jgarzik@...ox.com
Subject: [PATCH] net: use DECLARE_PCI_DEVICE_TABLE
Makes struct pci_device_id array const and moves it to __devinitconst
Signed-off-by: Jonas Bonn <jonas@...thpole.se>
---
drivers/net/wan/pci200syn.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wan/pci200syn.c b/drivers/net/wan/pci200syn.c
index b595b64..5e2eccd 100644
--- a/drivers/net/wan/pci200syn.c
+++ b/drivers/net/wan/pci200syn.c
@@ -445,7 +445,7 @@ static int __devinit pci200_pci_init_one(struct pci_dev *pdev,
-static struct pci_device_id pci200_pci_tbl[] __devinitdata = {
+static DECLARE_PCI_DEVICE_TABLE(pci200_pci_tbl) = {
{ PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050, PCI_VENDOR_ID_PLX,
PCI_DEVICE_ID_PLX_9050, 0, 0, 0 },
{ PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050, PCI_VENDOR_ID_PLX,
--
1.5.4.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists