[PATCH 427] Amiga Zorro8390 Ethernet section conflict

From: Geert Uytterhoeven
Date: Tue Apr 13 2004 - 03:48:18 EST


Zorro8390: const data cannot be in the init data section (from Roman Zippel)

--- linux-2.6.5-rc2/drivers/net/zorro8390.c 19 Feb 2004 20:14:19 -0000 1.7
+++ linux-m68k-2.6.5-rc2/drivers/net/zorro8390.c 26 Mar 2004 21:47:26 -0000
@@ -60,7 +60,7 @@
#define WORDSWAP(a) ((((a)>>8)&0xff) | ((a)<<8))


-static const struct card_info {
+static struct card_info {
zorro_id id;
const char *name;
unsigned int offset;

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/