summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChander Kashyap <chander.kashyap@linaro.org>2013-06-19 00:29:34 +0900
committerHyungwon Hwang <human.hwang@samsung.com>2014-12-17 16:18:02 +0900
commitac427f0d821070e01d4ffb1c52026aee286bddb5 (patch)
tree92a5da7f7ab5e75ea997907c70070c73b236a880
parentdfd71ef3626675ce48099d6ca98c55de57afeee2 (diff)
downloadlinux-3.10-ac427f0d821070e01d4ffb1c52026aee286bddb5.tar.gz
linux-3.10-ac427f0d821070e01d4ffb1c52026aee286bddb5.tar.bz2
linux-3.10-ac427f0d821070e01d4ffb1c52026aee286bddb5.zip
serial: samsung: select EXYNOS specific driver data if ARCH_EXYNOS is defined
All EXYNOS4/5 SoCs share a common driver data in the samsung serial driver. Hence, let the driver data inclusion be based on ARCH_EXYNOS instead of SOC specific definition. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Reviewed by: Girish K S <ks.giri@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--drivers/tty/serial/samsung.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c
index bf24bf0d29f..0110e2057ee 100644
--- a/drivers/tty/serial/samsung.c
+++ b/drivers/tty/serial/samsung.c
@@ -1708,10 +1708,7 @@ static struct s3c24xx_serial_drv_data s5pv210_serial_drv_data = {
#define S5PV210_SERIAL_DRV_DATA (kernel_ulong_t)NULL
#endif
-#if defined(CONFIG_SOC_EXYNOS3250) || \
- defined(CONFIG_CPU_EXYNOS4210) || defined(CONFIG_SOC_EXYNOS4212) || \
- defined(CONFIG_SOC_EXYNOS4412) || defined(CONFIG_SOC_EXYNOS5250) || \
- defined(CONFIG_SOC_EXYNOS5440)
+#if defined(CONFIG_ARCH_EXYNOS)
static struct s3c24xx_serial_drv_data exynos4210_serial_drv_data = {
.info = &(struct s3c24xx_uart_info) {
.name = "Samsung Exynos4 UART",