diff options
Diffstat (limited to 'drivers/video/aty/atyfb.h')
-rw-r--r-- | drivers/video/aty/atyfb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/aty/atyfb.h b/drivers/video/aty/atyfb.h index b04f49fb976a..e8dc5d10bd87 100644 --- a/drivers/video/aty/atyfb.h +++ b/drivers/video/aty/atyfb.h | |||
@@ -227,7 +227,7 @@ static inline u32 aty_ld_le32(int regindex, const struct atyfb_par *par) | |||
227 | regindex -= 0x800; | 227 | regindex -= 0x800; |
228 | 228 | ||
229 | #ifdef CONFIG_ATARI | 229 | #ifdef CONFIG_ATARI |
230 | return in_le32((volatile u32 *)(par->ati_regbase + regindex)); | 230 | return in_le32(par->ati_regbase + regindex); |
231 | #else | 231 | #else |
232 | return readl(par->ati_regbase + regindex); | 232 | return readl(par->ati_regbase + regindex); |
233 | #endif | 233 | #endif |
@@ -240,7 +240,7 @@ static inline void aty_st_le32(int regindex, u32 val, const struct atyfb_par *pa | |||
240 | regindex -= 0x800; | 240 | regindex -= 0x800; |
241 | 241 | ||
242 | #ifdef CONFIG_ATARI | 242 | #ifdef CONFIG_ATARI |
243 | out_le32((volatile u32 *)(par->ati_regbase + regindex), val); | 243 | out_le32(par->ati_regbase + regindex, val); |
244 | #else | 244 | #else |
245 | writel(val, par->ati_regbase + regindex); | 245 | writel(val, par->ati_regbase + regindex); |
246 | #endif | 246 | #endif |
@@ -253,7 +253,7 @@ static inline void aty_st_le16(int regindex, u16 val, | |||
253 | if (regindex >= 0x400) | 253 | if (regindex >= 0x400) |
254 | regindex -= 0x800; | 254 | regindex -= 0x800; |
255 | #ifdef CONFIG_ATARI | 255 | #ifdef CONFIG_ATARI |
256 | out_le16((volatile u16 *)(par->ati_regbase + regindex), val); | 256 | out_le16(par->ati_regbase + regindex, val); |
257 | #else | 257 | #else |
258 | writel(val, par->ati_regbase + regindex); | 258 | writel(val, par->ati_regbase + regindex); |
259 | #endif | 259 | #endif |