aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2012-02-23 02:23:52 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-24 16:50:46 -0500
commitb26469a8b139fba11d9336c1c117fafccfa9c7d5 (patch)
tree764076e3cea0d5d2eb55eb544985ed53832e3800 /drivers/tty/serial
parent2ae73520940a8d5fe147c4c5de760be8824bfe17 (diff)
serial: samsung: fix s3c2442 platform data
Without that fix machines having a s3c2442 CPU have something like that in dmesg: samsung-uart s3c2440-uart.0: could not find driver data samsung-uart s3c2440-uart.1: could not find driver data samsung-uart s3c2440-uart.2: could not find driver data And serial is never initialized. The previous log was obtained trough early printk on the gta02 machine. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/samsung.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c
index c55e5fb16fa3..de249d265bec 100644
--- a/drivers/tty/serial/samsung.c
+++ b/drivers/tty/serial/samsung.c
@@ -1507,7 +1507,7 @@ static struct s3c24xx_serial_drv_data s3c2412_serial_drv_data = {
1507#endif 1507#endif
1508 1508
1509#if defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2416) || \ 1509#if defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2416) || \
1510 defined(CONFIG_CPU_S3C2443) 1510 defined(CONFIG_CPU_S3C2443) || defined(CONFIG_CPU_S3C2442)
1511static struct s3c24xx_serial_drv_data s3c2440_serial_drv_data = { 1511static struct s3c24xx_serial_drv_data s3c2440_serial_drv_data = {
1512 .info = &(struct s3c24xx_uart_info) { 1512 .info = &(struct s3c24xx_uart_info) {
1513 .name = "Samsung S3C2440 UART", 1513 .name = "Samsung S3C2440 UART",