aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/plat-s5p/dev-uart.c2
-rw-r--r--drivers/serial/Kconfig2
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/plat-s5p/dev-uart.c b/arch/arm/plat-s5p/dev-uart.c
index 23c75316d491..a89331ef4ae1 100644
--- a/arch/arm/plat-s5p/dev-uart.c
+++ b/arch/arm/plat-s5p/dev-uart.c
@@ -95,6 +95,7 @@ static struct resource s5p_uart2_resource[] = {
95}; 95};
96 96
97static struct resource s5p_uart3_resource[] = { 97static struct resource s5p_uart3_resource[] = {
98#if CONFIG_SERIAL_SAMSUNG_UARTS > 3
98 [0] = { 99 [0] = {
99 .start = S5P_PA_UART3, 100 .start = S5P_PA_UART3,
100 .end = S5P_PA_UART3 + S5P_SZ_UART, 101 .end = S5P_PA_UART3 + S5P_SZ_UART,
@@ -115,6 +116,7 @@ static struct resource s5p_uart3_resource[] = {
115 .end = IRQ_S5P_UART_ERR3, 116 .end = IRQ_S5P_UART_ERR3,
116 .flags = IORESOURCE_IRQ, 117 .flags = IORESOURCE_IRQ,
117 }, 118 },
119#endif
118}; 120};
119 121
120struct s3c24xx_uart_resources s5p_uart_resources[] __initdata = { 122struct s3c24xx_uart_resources s5p_uart_resources[] __initdata = {
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index b2157c36566d..86590e9a92f5 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -551,7 +551,7 @@ config SERIAL_S5PC100
551 551
552config SERIAL_S5PV210 552config SERIAL_S5PV210
553 tristate "Samsung S5PV210 Serial port support" 553 tristate "Samsung S5PV210 Serial port support"
554 depends on SERIAL_SAMSUNG && CPU_S5PV210 554 depends on SERIAL_SAMSUNG && (CPU_S5PV210 || CPU_S5P6442)
555 select SERIAL_SAMSUNG_UARTS_4 555 select SERIAL_SAMSUNG_UARTS_4
556 default y 556 default y
557 help 557 help