Displaying 1 result from an estimated 1 matches for "vga_mm_w_fast".
2006 Aug 18
0
[PATCH/RFC] gcc warnings of void * arithmetic
...r __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_fast(char __iomem *regbase, uint16_t port, uint8_t reg, uint8_t val)
{
writew(VGA_OUT16VAL(val, reg), regbase + port);
}
_______________________________________________
Xen-devel mailing list
Xen-de...