Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764372AbYCFLCm (ORCPT ); Thu, 6 Mar 2008 06:02:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751914AbYCFKzw (ORCPT ); Thu, 6 Mar 2008 05:55:52 -0500 Received: from mail.southpole.se ([193.12.106.18]:44086 "EHLO mail.southpole.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752218AbYCFKzt (ORCPT ); Thu, 6 Mar 2008 05:55:49 -0500 From: Jonas Bonn To: jonas@southpole.se, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, jgarzik@pobox.com Subject: [PATCH] net: use DECLARE_PCI_DEVICE_TABLE Date: Thu, 6 Mar 2008 11:55:39 +0100 Message-Id: <1204800947-21569-2-git-send-email-jonas@southpole.se> X-Mailer: git-send-email 1.5.4.3 In-Reply-To: <1204800947-21569-1-git-send-email-jonas@southpole.se> References: <> <1204800947-21569-1-git-send-email-jonas@southpole.se> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 991 Lines: 29 Makes struct pci_device_id array const and moves it to __devinitconst Signed-off-by: Jonas Bonn --- 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 linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/