summaryrefslogtreecommitdiff
path: root/bsd-core
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-02-19 20:00:55 +0000
committerEric Anholt <anholt@freebsd.org>2005-02-19 20:00:55 +0000
commitbaeb76076e79dae0ed78f12e294336deaa3af9e7 (patch)
tree3e3e13e620e24a444fb1e038c55ad64acacc57de /bsd-core
parent49e19c8d001c34f675b8d81ffde8f0792292f6ff (diff)
Merge r1.26 from FreeBSD: Now that mem(4) is a kernel module, we need to
depend on it.
Diffstat (limited to 'bsd-core')
-rw-r--r--bsd-core/drm_drv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsd-core/drm_drv.c b/bsd-core/drm_drv.c
index da86406c..fe5e56e1 100644
--- a/bsd-core/drm_drv.c
+++ b/bsd-core/drm_drv.c
@@ -45,6 +45,9 @@ static void drm_cleanup(drm_device_t *dev);
MODULE_VERSION(drm, 1);
MODULE_DEPEND(drm, agp, 1, 1, 1);
MODULE_DEPEND(drm, pci, 1, 1, 1);
+#if __FreeBSD_version > 502127
+MODULE_DEPEND(drm, mem, 1, 1, 1);
+#endif
#endif /* __FreeBSD__ */
#if defined(__NetBSD__) || defined(__OpenBSD__)