Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760531AbYA3LMb (ORCPT ); Wed, 30 Jan 2008 06:12:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753193AbYA3LMV (ORCPT ); Wed, 30 Jan 2008 06:12:21 -0500 Received: from mail.southpole.se ([193.12.106.18]:57471 "EHLO mail.southpole.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750794AbYA3LMU (ORCPT ); Wed, 30 Jan 2008 06:12:20 -0500 X-Greylist: delayed 1150 seconds by postgrey-1.27 at vger.kernel.org; Wed, 30 Jan 2008 06:12:20 EST From: Jonas Bonn To: netdev@vger.kernel.org, romieu@fr.zoreil.com, linux-kernel@vger.kernel.org Cc: Jonas Bonn Subject: [PATCH] [SIS190] Constify data marked as __devinitdata Date: Wed, 30 Jan 2008 11:53:08 +0100 Message-Id: <1201690388-9052-1-git-send-email-jonas@southpole.se> X-Mailer: git-send-email 1.5.3.8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 969 Lines: 28 This fixes build error as gcc complains about a "section type conflict" due to the const __devinitdata in sis190_get_mac_addr_from_apc(). --- drivers/net/sis190.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/sis190.c b/drivers/net/sis190.c index b570402..e48e4ad 100644 --- a/drivers/net/sis190.c +++ b/drivers/net/sis190.c @@ -326,7 +326,7 @@ static const struct { { "SiS 191 PCI Gigabit Ethernet adapter" }, }; -static struct pci_device_id sis190_pci_tbl[] __devinitdata = { +static const struct pci_device_id sis190_pci_tbl[] __devinitdata = { { PCI_DEVICE(PCI_VENDOR_ID_SI, 0x0190), 0, 0, 0 }, { PCI_DEVICE(PCI_VENDOR_ID_SI, 0x0191), 0, 0, 1 }, { 0, }, -- 1.5.3.8 -- 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/