aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2011-01-11 18:49:03 -0500
committerPaul Mundt <lethal@linux-sh.org>2011-03-22 02:46:36 -0400
commit1284e49cf186eaa19056e85a76a443d4eca8995d (patch)
treecb073b7b3d812ece358747acbaaae41b11cf75f6
parent42dea903bf56414aa1eb299412a744b0fd269931 (diff)
svga: Use proper VGA register name macros in svga_wattr.
Instead of magic register location constants. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--include/linux/svga.h6
1 files changed, 3 insertions, 3 deletions
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 {
69 69
70static inline void svga_wattr(u8 index, u8 data) 70static inline void svga_wattr(u8 index, u8 data)
71{ 71{
72 inb(0x3DA); 72 inb(VGA_IS1_RC);
73 outb(index, 0x3C0); 73 outb(index, VGA_ATT_IW);
74 outb(data, 0x3C0); 74 outb(data, VGA_ATT_W);
75} 75}
76 76
77/* Write a value to a sequence register with a mask */ 77/* Write a value to a sequence register with a mask */