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
This commit is contained in:
mux 2004-08-05 07:20:24 +00:00
parent 4651c24754
commit 44bc5cf10b

View File

@ -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__