ARM: nomadik: use __iomem pointers for MMIO
ARM is moving to stricter checks on readl/write functions, so we need to use the correct types everywhere. Acked-by: Alessandro Rubini <rubini@unipv.it> Acked-by: Linus Walleij <linus.walleij@linaro.org> Cc: STEricsson <STEricsson_nomadik_linux@list.st.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -27,10 +27,10 @@
|
||||
struct amba_device;
|
||||
#include <linux/amba/serial.h>
|
||||
|
||||
#define NOMADIK_UART_DR 0x101FB000
|
||||
#define NOMADIK_UART_LCRH 0x101FB02c
|
||||
#define NOMADIK_UART_CR 0x101FB030
|
||||
#define NOMADIK_UART_FR 0x101FB018
|
||||
#define NOMADIK_UART_DR (void __iomem *)0x101FB000
|
||||
#define NOMADIK_UART_LCRH (void __iomem *)0x101FB02c
|
||||
#define NOMADIK_UART_CR (void __iomem *)0x101FB030
|
||||
#define NOMADIK_UART_FR (void __iomem *)0x101FB018
|
||||
|
||||
static void putc(const char c)
|
||||
{
|
||||
|
Reference in New Issue
Block a user