mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
[PATCH] arm/rpc iomem annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
2ad4f86b60
commit
272cd2b71d
@ -15,7 +15,7 @@
|
|||||||
#include <asm/arch/memory.h>
|
#include <asm/arch/memory.h>
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
#define IOMEM(x) ((void __iomem *)(x))
|
#define IOMEM(x) ((void __iomem *)(unsigned long)(x))
|
||||||
#else
|
#else
|
||||||
#define IOMEM(x) x
|
#define IOMEM(x) x
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
@ -52,7 +52,7 @@
|
|||||||
/*
|
/*
|
||||||
* IO Addresses
|
* IO Addresses
|
||||||
*/
|
*/
|
||||||
#define VIDC_BASE (void __iomem *)0xe0400000
|
#define VIDC_BASE IOMEM(0xe0400000)
|
||||||
#define EXPMASK_BASE 0xe0360000
|
#define EXPMASK_BASE 0xe0360000
|
||||||
#define IOMD_BASE IOMEM(0xe0200000)
|
#define IOMD_BASE IOMEM(0xe0200000)
|
||||||
#define IOC_BASE IOMEM(0xe0200000)
|
#define IOC_BASE IOMEM(0xe0200000)
|
||||||
|
Loading…
Reference in New Issue
Block a user