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:
parent
031111d0bc
commit
95df4587ef
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue