summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/vga.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/vga.h')
-rw-r--r--include/asm-ppc/vga.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc/vga.h b/include/asm-ppc/vga.h
index 69e3d7f9a..c5864734e 100644
--- a/include/asm-ppc/vga.h
+++ b/include/asm-ppc/vga.h
@@ -4,6 +4,7 @@
* (c) 1998 Martin Mares <mj@ucw.cz>
*/
+#ifdef __KERNEL__
#ifndef _LINUX_ASM_VGA_H_
#define _LINUX_ASM_VGA_H_
@@ -42,3 +43,4 @@ extern unsigned long vgacon_remap_base;
#define vga_writeb(x,y) (*(y) = (x))
#endif
+#endif /* __KERNEL__ */