[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1204800947-21569-2-git-send-email-jonas@southpole.se>
Date: Thu, 6 Mar 2008 11:55:39 +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/cassini.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/cassini.c b/drivers/net/cassini.c
index 14299f8..1451533 100644
--- a/drivers/net/cassini.c
+++ b/drivers/net/cassini.c
@@ -233,7 +233,7 @@ static u16 link_modes[] __devinitdata = {
CAS_BMCR_SPEED1000|BMCR_FULLDPLX /* 5 : 1000bt full duplex */
};
-static struct pci_device_id cas_pci_tbl[] __devinitdata = {
+static DECLARE_PCI_DEVICE_TABLE(cas_pci_tbl) = {
{ PCI_VENDOR_ID_SUN, PCI_DEVICE_ID_SUN_CASSINI,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
{ PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SATURN,
--
1.5.4.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists