summaryrefslogtreecommitdiff
path: root/arch/avr32/mach-at32ap/pm.h
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-10-22 15:51:04 +0200
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-10-23 11:19:24 +0200
commit86298962c06c2584a8c4df5fb92a70179ca7e4f5 (patch)
treedc7b15b03cfb92e08d1d13f579a90abee8a0fb98 /arch/avr32/mach-at32ap/pm.h
parent1c2f173796e4d692b71d1305adb833a104713cd8 (diff)
downloadlinux-3.10-86298962c06c2584a8c4df5fb92a70179ca7e4f5.tar.gz
linux-3.10-86298962c06c2584a8c4df5fb92a70179ca7e4f5.tar.bz2
linux-3.10-86298962c06c2584a8c4df5fb92a70179ca7e4f5.zip
[AVR32] Fix a couple of sparse warnings
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/mach-at32ap/pm.h')
-rw-r--r--arch/avr32/mach-at32ap/pm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/avr32/mach-at32ap/pm.h b/arch/avr32/mach-at32ap/pm.h
index 47efd0d1951..694d521edc2 100644
--- a/arch/avr32/mach-at32ap/pm.h
+++ b/arch/avr32/mach-at32ap/pm.h
@@ -113,8 +113,8 @@
/* Register access macros */
#define pm_readl(reg) \
- __raw_readl((void __iomem *)AT32_PM_BASE + PM_##reg)
+ __raw_readl((void __iomem __force *)AT32_PM_BASE + PM_##reg)
#define pm_writel(reg,value) \
- __raw_writel((value), (void __iomem *)AT32_PM_BASE + PM_##reg)
+ __raw_writel((value), (void __iomem __force *)AT32_PM_BASE + PM_##reg)
#endif /* __ARCH_AVR32_MACH_AT32AP_PM_H__ */