Skip to content

Commit

Permalink
[MIPS] Undefine scr_writew and scr_readw in <asm/vga.h>.
Browse files Browse the repository at this point in the history
    
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>
  • Loading branch information
Ralf Baechle committed Mar 9, 2006
1 parent 1443e48 commit fd2a4f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/asm-mips/vga.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fd2a4f1

Please sign in to comment.