Displaying 1 result from an estimated 1 matches for "vga_mm_w".
Did you mean:
vga_mm_r
2006 Aug 18
0
[PATCH/RFC] gcc warnings of void * arithmetic
...185,17 @@ static inline void vga_io_w_fast(uint16_
outw(VGA_OUT16VAL(val, reg), port);
}
-static inline uint8_t vga_mm_r(void __iomem *regbase, uint16_t port)
+static inline uint8_t vga_mm_r(char __iomem *regbase, uint16_t port)
{
return readb(regbase + port);
}
-static inline void vga_mm_w(void __iomem *regbase, uint16_t port, uint8_t val)
+static inline void vga_mm_w(char __iomem *regbase, uint16_t port, uint8_t val)
{
writeb(val, regbase + port);
}
-static inline void vga_mm_w_fast(void __iomem *regbase, uint16_t port, uint8_t reg, uint8_t val)
+static inline void vga_mm_w...