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:
parent
4651c24754
commit
44bc5cf10b
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user