summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/s3c2440.c
diff options
context:
space:
mode:
authorThomas Abraham <thomas.ab@samsung.com>2011-06-14 19:12:26 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-07-20 19:10:43 +0900
commit5822a5df5ee2bbb2a98a4baadf065829e191395f (patch)
tree1b03ec068a72badee89f78cec25a0bf25600e523 /drivers/tty/serial/s3c2440.c
parentee430f16251de889ddf8e303970713d9fba9a3f5 (diff)
downloadop-kernel-dev-5822a5df5ee2bbb2a98a4baadf065829e191395f.zip
op-kernel-dev-5822a5df5ee2bbb2a98a4baadf065829e191395f.tar.gz
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/s3c2440.c')
-rw-r--r--drivers/tty/serial/s3c2440.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/s3c2440.c b/drivers/tty/serial/s3c2440.c
index 9e10d41..1d0c324 100644
--- a/drivers/tty/serial/s3c2440.c
+++ b/drivers/tty/serial/s3c2440.c
@@ -159,8 +159,6 @@ static struct platform_driver s3c2440_serial_driver = {
},
};
-s3c24xx_console_init(&s3c2440_serial_driver, &s3c2440_uart_inf);
-
static int __init s3c2440_serial_init(void)
{
return s3c24xx_serial_init(&s3c2440_serial_driver, &s3c2440_uart_inf);
OpenPOWER on IntegriCloud