From 1088f336ccc73feaaff2f95eec6fb5b6e7e94337 Mon Sep 17 00:00:00 2001
From: Ben Dooks <ben-linux@fluff.org>
Date: Wed, 24 Feb 2010 01:46:10 +0000
Subject: [PATCH] ARM: SAMSUNG: Fix UART number for S5P6442

The recent changes in the UART code mean that we need to ensure that
the 4 UART case is only selected if S5PV210 is being compiled.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
---
 drivers/serial/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 86590e9a92f5..c53e13a26084 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -552,7 +552,7 @@ config SERIAL_S5PC100
 config SERIAL_S5PV210
 	tristate "Samsung S5PV210 Serial port support"
 	depends on SERIAL_SAMSUNG && (CPU_S5PV210 || CPU_S5P6442)
-	select SERIAL_SAMSUNG_UARTS_4
+	select SERIAL_SAMSUNG_UARTS_4 if CPU_S5PV210
 	default y
 	help
 	  Serial port support for Samsung's S5P Family of SoC's
-- 
GitLab