diff options
author | mux <mux@FreeBSD.org> | 2004-08-05 07:20:24 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2004-08-05 07:20:24 +0000 |
commit | 44bc5cf10be74f2909ac3591a1446ee698a1927f (patch) | |
tree | d2b940f50749d8f7da2c42e63abb20a57c78f0a6 /sys/dev/drm | |
parent | 4651c24754a3051ce8c4034632f945bc2fe00476 (diff) | |
download | FreeBSD-src-44bc5cf10be74f2909ac3591a1446ee698a1927f.zip FreeBSD-src-44bc5cf10be74f2909ac3591a1446ee698a1927f.tar.gz |
Now that mem(4) is a kernel module, we need to add a dependency on
it in drm(4) for mem_range_attr_set(). This fixes loading a DRM
driver as a module.
Reviewed by: anholt
Diffstat (limited to 'sys/dev/drm')
-rw-r--r-- | sys/dev/drm/drm_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/drm/drm_drv.h b/sys/dev/drm/drm_drv.h index 642cc74..1227296 100644 --- a/sys/dev/drm/drm_drv.h +++ b/sys/dev/drm/drm_drv.h @@ -124,6 +124,7 @@ static void DRM(cleanup)(drm_device_t *dev); #if __REALLY_HAVE_AGP MODULE_DEPEND(DRIVER_NAME, agp, 1, 1, 1); #endif +MODULE_DEPEND(DRIVER_NAME, mem, 1, 1, 1); #endif /* __FreeBSD__ */ #ifdef __NetBSD__ |