mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 14:39:37 +00:00
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
08e062ff1e
commit
1af8a68c46
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133160
@ -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