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:
Maxime Henrion 2004-08-05 07:20:24 +00:00
parent 08e062ff1e
commit 1af8a68c46
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133160

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__