提交 fd2a4f11 编写于 作者: R Ralf Baechle

[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: NRalf Baechle <ralf@linux-mips.org>
上级 1443e483
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册