[PATCH] make riscom8.c build (248p4)

Rasmus Andersen (rasmus@jaquet.dk)
Sun, 5 Aug 2001 18:22:08 +0200


Hi.

The following patch is needed for me to be able to compile
drivers/char/riscom8.c. I am not exactly sure where it is
that the init.data section has been asked to hold rw data
before but I trust gcc to know this better than me...

--- linux-248-pre4-clean/drivers/char/riscom8.c Sun Aug 5 14:34:54 2001
+++ linux-248p4-kbuild/drivers/char/riscom8.c Sun Aug 5 18:14:29 2001
@@ -1866,10 +1866,10 @@
__setup("riscom8=", riscom8_setup);
#endif

-static const char banner[] __initdata =
+static char banner[] __initdata =
KERN_INFO "rc: SDL RISCom/8 card driver v1.1, (c) D.Gorodchanin "
"1994-1996.\n";
-static const char no_boards_msg[] __initdata =
+static char no_boards_msg[] __initdata =
KERN_INFO "rc: No RISCom/8 boards detected.\n";

/*

-- 
        Rasmus(rasmus@jaquet.dk)

Duct tape is like the force; it has a light side and a dark side, and it holds the universe together. -- Anonymous - 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/