From 61a5193214865e775238fb72a121cabd0098e3ca Mon Sep 17 00:00:00 2001 From: Thorsten Lockert Date: Fri, 3 Aug 2001 16:17:48 +0000 Subject: Avoid warning when building with vga on isa without vga on pci; ok mickey@ --- sys/dev/ic/vga.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/vga.c b/sys/dev/ic/vga.c index 5857391a7e1..06a73164047 100644 --- a/sys/dev/ic/vga.c +++ b/sys/dev/ic/vga.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vga.c,v 1.26 2001/05/16 19:17:01 mickey Exp $ */ +/* $OpenBSD: vga.c,v 1.27 2001/08/03 16:17:47 tholo Exp $ */ /* $NetBSD: vga.c,v 1.28.2.1 2000/06/30 16:27:47 simonb Exp $ */ /* @@ -591,9 +591,9 @@ vga_ioctl(v, cmd, data, flag, p) struct proc *p; { struct vga_config *vc = v; +#if NVGA_PCI > 0 int error; -#if NVGA_PCI > 0 if (vc->vc_type == WSDISPLAY_TYPE_PCIVGA && (error = vga_pci_ioctl(v, cmd, data, flag, p)) != ENOTTY) return (error); -- cgit v1.2.3