LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] [SIS190] Constify data marked as __devinitdata
@ 2008-01-30 10:53 Jonas Bonn
  2008-01-30 11:23 ` Jan Engelhardt
  0 siblings, 1 reply; 9+ messages in thread
From: Jonas Bonn @ 2008-01-30 10:53 UTC (permalink / raw)
  To: netdev, romieu, linux-kernel; +Cc: Jonas Bonn

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-01-30 13:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-30 10:53 [PATCH] [SIS190] Constify data marked as __devinitdata Jonas Bonn
2008-01-30 11:23 ` Jan Engelhardt
2008-01-30 11:25   ` Sam Ravnborg
2008-01-30 11:57     ` [PATCH] [SIS190] Use _devinitconst for const data Jonas Bonn
2008-01-30 12:21       ` Sam Ravnborg
2008-01-30 13:31     ` [PATCH] [SIS190] Constify data marked as __devinitdata Jan Engelhardt
2008-01-30 13:37       ` Sam Ravnborg
2008-01-30 13:41         ` [PATCH] [SIS190] Use __devinitconst for const devinit data Jonas Bonn
2008-01-30 11:41   ` [PATCH] [SIS190] Constify data marked as __devinitdata Jonas Bonn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).