summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/drm_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c
index 4ea99a8b63b..a7c8f2ba48a 100644
--- a/sys/dev/pci/drm/drm_drv.c
+++ b/sys/dev/pci/drm/drm_drv.c
@@ -619,6 +619,7 @@ drm_unload(drm_device_t *dev)
dev->pcirid[i], dev->pcir[i]);
dev->pcir[i] = NULL;
}
+#endif
if ( dev->agp ) {
free(dev->agp, M_DRM);