diff options
author | Thomas Abraham <thomas.ab@samsung.com> | 2011-06-14 12:12:26 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-07-20 12:10:43 +0200 |
commit | 5822a5df5ee2bbb2a98a4baadf065829e191395f (patch) | |
tree | 1b03ec068a72badee89f78cec25a0bf25600e523 /drivers/tty/serial/samsung.c | |
parent | serial: samsung: Fix unintended usage of uart port 0 as console (diff) | |
download | linux-5822a5df5ee2bbb2a98a4baadf065829e191395f.tar.xz linux-5822a5df5ee2bbb2a98a4baadf065829e191395f.zip |
serial: Remove redundant console_initcall from s3c and s5p console drivers
Uart port is registered as a console during the driver's probe.
So explict registration of console with console_initcall is
removed.
Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
[kgene.kim@samsung.com: removed changes of s3c2400 and s3c24a0]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'drivers/tty/serial/samsung.c')
-rw-r--r-- | drivers/tty/serial/samsung.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index 014c1c3923e8..7ead42104c67 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c @@ -1449,7 +1449,8 @@ static struct console s3c24xx_serial_console = { .flags = CON_PRINTBUFFER, .index = -1, .write = s3c24xx_serial_console_write, - .setup = s3c24xx_serial_console_setup + .setup = s3c24xx_serial_console_setup, + .data = &s3c24xx_uart_drv, }; int s3c24xx_serial_initconsole(struct platform_driver *drv, |