From: David Miller Date: Tue, 11 Jan 2011 23:49:03 +0000 (+0000) Subject: svga: Use proper VGA register name macros in svga_wattr. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1284e49cf186eaa19056e85a76a443d4eca8995d;p=linux-beck.git svga: Use proper VGA register name macros in svga_wattr. Instead of magic register location constants. Signed-off-by: David S. Miller Signed-off-by: Paul Mundt --- diff --git a/include/linux/svga.h b/include/linux/svga.h index c59a51a2b0e7..3fc52cb0bcb4 100644 --- a/include/linux/svga.h +++ b/include/linux/svga.h @@ -69,9 +69,9 @@ struct svga_pll { static inline void svga_wattr(u8 index, u8 data) { - inb(0x3DA); - outb(index, 0x3C0); - outb(data, 0x3C0); + inb(VGA_IS1_RC); + outb(index, VGA_ATT_IW); + outb(data, VGA_ATT_W); } /* Write a value to a sequence register with a mask */