From ada219d88cd4d2d2c11be4afd5c6aa7354e0665f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 18 Mar 2002 06:57:44 +0000 Subject: 2002-03-17 Roland McGrath * vga.c (vga_init): io_perm -> ioperm. * dynafont.c: Include . * focus.c: Likewise. * vga.c: Likewise. * vga-display.c: Likewise. --- console/vga.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'console') diff --git a/console/vga.c b/console/vga.c index 9ad9c08c..87c863c7 100644 --- a/console/vga.c +++ b/console/vga.c @@ -25,6 +25,7 @@ #include #include #include +#include #include "vga-hw.h" #include "vga.h" @@ -41,7 +42,7 @@ vga_init (void) error_t err; int fd; - if (io_perm (VGA_MIN_REG, VGA_MAX_REG - VGA_MIN_REG + 1, 1) < 0) + if (ioperm (VGA_MIN_REG, VGA_MAX_REG - VGA_MIN_REG + 1, 1) < 0) return errno; fd = open ("/dev/mem", O_RDWR); -- cgit v1.2.3