diff options
Diffstat (limited to 'sys/dev/fb/vgareg.h')
-rw-r--r-- | sys/dev/fb/vgareg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fb/vgareg.h b/sys/dev/fb/vgareg.h index 4ccef40..0a73fbd 100644 --- a/sys/dev/fb/vgareg.h +++ b/sys/dev/fb/vgareg.h @@ -61,7 +61,7 @@ #define GDCREG (IO_VGA + 0x0F) /* graph data controller data */ #define VGA_DRIVER_NAME "vga" -#define VGA_UNIT(dev) minor(dev) +#define VGA_UNIT(dev) dev2unit(dev) #define VGA_MKMINOR(unit) (unit) #ifdef _KERNEL |