Commit fd2a4f1183d1e6802457d70cea067396236ed64b

Authored by Ralf Baechle
1 parent 1443e483e3

[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>

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

include/asm-mips/vga.h
... ... @@ -26,6 +26,9 @@
26 26 * <linux/vt_buffer.h> has already done the right job for us.
27 27 */
28 28  
  29 +#undef scr_writew
  30 +#undef scr_readw
  31 +
29 32 static inline void scr_writew(u16 val, volatile u16 *addr)
30 33 {
31 34 *addr = cpu_to_le16(val);