On Thu, Jun 6, 2013 at 4:31 PM, Chander Kashyap <chander.kashyap@xxxxxxxxxx> wrote: > The serial port used in Exynos5420 is similar to the serial ports used > in the other Exynos SoC. Hence, extend the serial driver support for > Exynos5420. > > Signed-off-by: Chander Kashyap <chander.kashyap@xxxxxxxxxx> > --- > drivers/tty/serial/samsung.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c > index 3cda4ed..841221c 100644 > --- a/drivers/tty/serial/samsung.c > +++ b/drivers/tty/serial/samsung.c > @@ -1716,7 +1716,7 @@ static struct s3c24xx_serial_drv_data s5pv210_serial_drv_data = { > > #if defined(CONFIG_CPU_EXYNOS4210) || defined(CONFIG_SOC_EXYNOS4212) || \ > defined(CONFIG_SOC_EXYNOS4412) || defined(CONFIG_SOC_EXYNOS5250) || \ > - defined(CONFIG_SOC_EXYNOS5440) > + defined(CONFIG_SOC_EXYNOS5420) || defined(CONFIG_SOC_EXYNOS5440) Instead of comparing all CONFIGS of the SOC of exynos series, it can be optimized with #if defined(CONFIG_ARCH_EXYNOS) Make sure to test on all the boards for functionality. > static struct s3c24xx_serial_drv_data exynos4210_serial_drv_data = { > .info = &(struct s3c24xx_uart_info) { > .name = "Samsung Exynos4 UART", > -- > 1.7.9.5 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html