[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>
This commit is contained in:
Ralf Baechle 2006-03-08 16:04:32 +00:00
parent 1443e483e3
commit fd2a4f1183
1 changed files with 3 additions and 0 deletions

View File

@ -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);