9
0
Fork 0

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 <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Andrey Smirnov 2015-05-06 12:32:00 -07:00 committed by Sascha Hauer
parent 031111d0bc
commit 95df4587ef
1 changed files with 2 additions and 2 deletions

View File

@ -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;