summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/at91x40.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-02-05 16:35:39 +0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-02-17 20:54:05 +0400
commitfac36a5ab9fe5a8bd977d2305eeccad48389cbb5 (patch)
tree4e330fd09c5a832b78f0bc3c3e77b87bad9803e8 /arch/arm/mach-at91/at91x40.c
parent0d78171672a30e8ec8084f54a557e9948260356d (diff)
downloadlinux-fac36a5ab9fe5a8bd977d2305eeccad48389cbb5.tar.xz
ARM: at91/at91x40: remove use of at91_sys_read/write
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/at91x40.c')
-rw-r--r--arch/arm/mach-at91/at91x40.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/at91x40.c b/arch/arm/mach-at91/at91x40.c
index 0154b7f44ff1..5400a1d65035 100644
--- a/arch/arm/mach-at91/at91x40.c
+++ b/arch/arm/mach-at91/at91x40.c
@@ -44,7 +44,7 @@ static void at91x40_idle(void)
* Disable the processor clock. The processor will be automatically
* re-enabled by an interrupt or by a reset.
*/
- at91_sys_write(AT91_PS_CR, AT91_PS_CR_CPU);
+ __raw_writel(AT91_PS_CR_CPU, AT91_PS_CR);
cpu_do_idle();
}