From 95df4587ef57428b4459ba97fb9a7b890f0c1a86 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Wed, 6 May 2015 12:32:00 -0700 Subject: i.MX: serial: Convert PUTC_LL to use IOMEM Convert PUTC_LL to use IOMEM instead of explicit casting to 'void *', since the former seem to be more appropriate to the situation. Signed-off-by: Andrey Smirnov Signed-off-by: Sascha Hauer --- arch/arm/mach-imx/include/mach/debug_ll.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch') diff --git a/arch/arm/mach-imx/include/mach/debug_ll.h b/arch/arm/mach-imx/include/mach/debug_ll.h index c2f454a7e3..1f35e81532 100644 --- a/arch/arm/mach-imx/include/mach/debug_ll.h +++ b/arch/arm/mach-imx/include/mach/debug_ll.h @@ -82,8 +82,8 @@ static inline void imx6_uart_setup_ll(void) static inline void PUTC_LL(int c) { - void __iomem *base = (void *)IMX_UART_BASE(IMX_DEBUG_SOC, - CONFIG_DEBUG_IMX_UART_PORT); + void __iomem *base = IOMEM(IMX_UART_BASE(IMX_DEBUG_SOC, + CONFIG_DEBUG_IMX_UART_PORT)); if (!base) return; -- cgit v1.2.3