summaryrefslogtreecommitdiff
path: root/sys/dev/pci/vga_pci_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/vga_pci_common.c')
-rw-r--r--sys/dev/pci/vga_pci_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/vga_pci_common.c b/sys/dev/pci/vga_pci_common.c
index b8a9b4e3401..e785709ce04 100644
--- a/sys/dev/pci/vga_pci_common.c
+++ b/sys/dev/pci/vga_pci_common.c
@@ -154,6 +154,7 @@ vga_pci_bar_unmap(struct vga_pci_bar *bar)
}
}
+#ifdef RAMDISK_HOOKS
static const struct pci_matchid aperture_blacklist[] = {
/* server adapters found in mga200 drm driver */
{ PCI_VENDOR_MATROX, PCI_PRODUCT_MATROX_G200E_SE },
@@ -188,3 +189,4 @@ vga_aperture_needed(struct pci_attach_args *pa)
#endif
return (1);
}
+#endif /* RAMDISK_HOOKS */