summaryrefslogtreecommitdiff
path: root/arch/avr32/cpu/at32ap700x/sm.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/avr32/cpu/at32ap700x/sm.h')
-rw-r--r--arch/avr32/cpu/at32ap700x/sm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/avr32/cpu/at32ap700x/sm.h b/arch/avr32/cpu/at32ap700x/sm.h
index b6e4409b22..9a3804efe4 100644
--- a/arch/avr32/cpu/at32ap700x/sm.h
+++ b/arch/avr32/cpu/at32ap700x/sm.h
@@ -197,8 +197,8 @@
/* Register access macros */
#define sm_readl(reg) \
- readl((void *)SM_BASE + SM_##reg)
+ readl((void *)ATMEL_BASE_SM + SM_##reg)
#define sm_writel(reg,value) \
- writel((value), (void *)SM_BASE + SM_##reg)
+ writel((value), (void *)ATMEL_BASE_SM + SM_##reg)
#endif /* __CPU_AT32AP_SM_H__ */