Skip to content

Commit

Permalink
Blackfin Serial Driver: use __initdata for data, not __init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Frysinger authored and Linus Torvalds committed Oct 13, 2008
1 parent 9ae7b08 commit c111340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/bfin_5xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c111340

Please sign in to comment.