瀏覽代碼

[MIPS] Undefine scr_writew and scr_readw in <asm/vga.h>.

This is gluing the build of cirrusfb but really the mess that would need
cleaning and fixing is <video/vga.h> and <linux/vt_buffer.h> ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Ralf Baechle 19 年之前
父節點
當前提交
fd2a4f1183
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      include/asm-mips/vga.h

+ 3 - 0
include/asm-mips/vga.h

@@ -26,6 +26,9 @@
  *  <linux/vt_buffer.h> has already done the right job for us.
  */
 
+#undef scr_writew
+#undef scr_readw
+
 static inline void scr_writew(u16 val, volatile u16 *addr)
 {
 	*addr = cpu_to_le16(val);