* [PATCH 1/1] Char: cyclades, fix isa+module build
@ 2009-06-28 13:13 Jiri Slaby
2009-06-28 13:26 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Jiri Slaby @ 2009-06-28 13:13 UTC (permalink / raw)
To: alan; +Cc: Andrew Morton, sfr, linux-kernel, Jiri Slaby
When CONFIG_ISA and MODULES is turned on, a build will fail with
the following error:
drivers/char/cyclades.c:3332: error: assignment of read-only location
Deconstify that particular isa structure.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
drivers/char/cyclades.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c
index 5cec450..dbfa8b5 100644
--- a/drivers/char/cyclades.c
+++ b/drivers/char/cyclades.c
@@ -143,7 +143,7 @@ static struct tty_driver *cy_serial_driver;
causing problems, remove the offending address from this table.
*/
-static const unsigned int cy_isa_addresses[] = {
+static unsigned int cy_isa_addresses[] = {
0xD0000,
0xD2000,
0xD4000,
--
1.6.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-28 13:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-28 13:13 [PATCH 1/1] Char: cyclades, fix isa+module build Jiri Slaby
2009-06-28 13:26 ` Alan Cox
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.