diff options
Diffstat (limited to 'arch/arm/include/asm/vga.h')
-rw-r--r-- | arch/arm/include/asm/vga.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/include/asm/vga.h b/arch/arm/include/asm/vga.h index 250a4dd00630..91f40217bfa5 100644 --- a/arch/arm/include/asm/vga.h +++ b/arch/arm/include/asm/vga.h | |||
@@ -2,9 +2,10 @@ | |||
2 | #define ASMARM_VGA_H | 2 | #define ASMARM_VGA_H |
3 | 3 | ||
4 | #include <linux/io.h> | 4 | #include <linux/io.h> |
5 | #include <mach/hardware.h> | ||
6 | 5 | ||
7 | #define VGA_MAP_MEM(x,s) (PCIMEM_BASE + (x)) | 6 | extern unsigned long vga_base; |
7 | |||
8 | #define VGA_MAP_MEM(x,s) (vga_base + (x)) | ||
8 | 9 | ||
9 | #define vga_readb(x) (*((volatile unsigned char *)x)) | 10 | #define vga_readb(x) (*((volatile unsigned char *)x)) |
10 | #define vga_writeb(x,y) (*((volatile unsigned char *)y) = (x)) | 11 | #define vga_writeb(x,y) (*((volatile unsigned char *)y) = (x)) |