diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-11-24 20:59:46 -0500 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-02-23 08:57:57 -0500 |
commit | b55149529d265718a989b67468c4f03de0d3af7a (patch) | |
tree | cccba7e40bbca7b0ded59152162bb64b343dc337 /arch/arm/mach-at91/at91rm9200.c | |
parent | 940192e3c651eb6b97b42cb4c28e9e8471675cd2 (diff) |
ARM: at91/PMC: make register base soc independent
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Reviewed-by: Ryan Mallon <rmallon@gmail.com>
Diffstat (limited to 'arch/arm/mach-at91/at91rm9200.c')
-rw-r--r-- | arch/arm/mach-at91/at91rm9200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c index 7923197cb506..0df1045311e4 100644 --- a/arch/arm/mach-at91/at91rm9200.c +++ b/arch/arm/mach-at91/at91rm9200.c | |||
@@ -295,7 +295,7 @@ static void at91rm9200_idle(void) | |||
295 | * Disable the processor clock. The processor will be automatically | 295 | * Disable the processor clock. The processor will be automatically |
296 | * re-enabled by an interrupt or by a reset. | 296 | * re-enabled by an interrupt or by a reset. |
297 | */ | 297 | */ |
298 | at91_sys_write(AT91_PMC_SCDR, AT91_PMC_PCK); | 298 | at91_pmc_write(AT91_PMC_SCDR, AT91_PMC_PCK); |
299 | } | 299 | } |
300 | 300 | ||
301 | static void at91rm9200_restart(char mode, const char *cmd) | 301 | static void at91rm9200_restart(char mode, const char *cmd) |