Blackfin Serial Driver: use __initdata for data, not __init
authorMike Frysinger <vapier.adi@gmail.com>
Mon, 13 Oct 2008 09:32:35 +0000 (10:32 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:38 +0000 (09:51 -0700)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/bfin_5xx.c

index 4a0d30bed9f12729355272560f66bff6aeb9649e..4a023c65e9f4f659b9f9cbc86eb2875f36ad6bab 100644 (file)
@@ -1056,7 +1056,7 @@ static __init void early_serial_write(struct console *con, const char *s,
        }
 }
 
-static struct __init console bfin_early_serial_console = {
+static struct __initdata console bfin_early_serial_console = {
        .name = "early_BFuart",
        .write = early_serial_write,
        .device = uart_console_device,