]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 6677/1: SPEAr: add IOMEM(x) definition and update declaration of MISC_BASE
authorviresh kumar <viresh.kumar@st.com>
Wed, 16 Feb 2011 06:40:28 +0000 (07:40 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 Mar 2011 09:49:44 +0000 (09:49 +0000)
commite44f538971e3f942378876d822c7a1e586f804f2
tree8ad796a19197f68759b942d5844f42fc6b94c45d
parent80e7c449e8b9ba334a4a21064a0b0281b9f62f70
ARM: 6677/1: SPEAr: add IOMEM(x) definition and update declaration of MISC_BASE

Add IOMEM(x) definition, and use it with MISC_BASE for SPEAr platform.
With this there is no need to typecast misc macros to (unsigned int *).

Reviewed-by: Stanley Miao <stanley.miao@windriver.com>
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-spear3xx/include/mach/hardware.h
arch/arm/mach-spear3xx/include/mach/misc_regs.h
arch/arm/mach-spear6xx/include/mach/hardware.h
arch/arm/mach-spear6xx/include/mach/misc_regs.h
arch/arm/plat-spear/include/plat/hardware.h [new file with mode: 0644]