diff options
Diffstat (limited to 'arch/arm/mach-at91/include/mach/uncompress.h')
-rw-r--r-- | arch/arm/mach-at91/include/mach/uncompress.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/include/mach/uncompress.h b/arch/arm/mach-at91/include/mach/uncompress.h index 6f6118d1576a..97ad68a826f8 100644 --- a/arch/arm/mach-at91/include/mach/uncompress.h +++ b/arch/arm/mach-at91/include/mach/uncompress.h | |||
@@ -94,7 +94,7 @@ static const u32 uarts_sam9x5[] = { | |||
94 | 0, | 94 | 0, |
95 | }; | 95 | }; |
96 | 96 | ||
97 | static inline const u32* decomp_soc_detect(u32 dbgu_base) | 97 | static inline const u32* decomp_soc_detect(void __iomem *dbgu_base) |
98 | { | 98 | { |
99 | u32 cidr, socid; | 99 | u32 cidr, socid; |
100 | 100 | ||
@@ -142,10 +142,10 @@ static inline void arch_decomp_setup(void) | |||
142 | int i = 0; | 142 | int i = 0; |
143 | const u32* usarts; | 143 | const u32* usarts; |
144 | 144 | ||
145 | usarts = decomp_soc_detect(AT91_BASE_DBGU0); | 145 | usarts = decomp_soc_detect((void __iomem *)AT91_BASE_DBGU0); |
146 | 146 | ||
147 | if (!usarts) | 147 | if (!usarts) |
148 | usarts = decomp_soc_detect(AT91_BASE_DBGU1); | 148 | usarts = decomp_soc_detect((void __iomem *)AT91_BASE_DBGU1); |
149 | if (!usarts) { | 149 | if (!usarts) { |
150 | at91_uart = NULL; | 150 | at91_uart = NULL; |
151 | return; | 151 | return; |