aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2022-03-29 13:33:25 +0200
committerPetr Štetiar <ynezz@true.cz>2022-03-30 23:39:08 +0200
commitf5a54716a4f7bcc4de78bd068d84278949139adf (patch)
tree73f4bf18f61e1b942e93e5c730e2b443e1e2ebe3
parent853686f7a9e6b6c982aa1d9a82bba97df65dbf95 (diff)
downloadupstream-f5a54716a4f7bcc4de78bd068d84278949139adf.tar.gz
upstream-f5a54716a4f7bcc4de78bd068d84278949139adf.tar.bz2
upstream-f5a54716a4f7bcc4de78bd068d84278949139adf.zip
kernel: modules: fix kmod-drm dependency for 5.15
Fixes following issue: Package kmod-drm is missing dependencies for the following libraries: fb.ko Introduced upstream in commit f611b1e7624c ("drm: Avoid circular dependencies for CONFIG_FB") in 5.14. Signed-off-by: Petr Štetiar <ynezz@true.cz>
-rw-r--r--package/kernel/linux/modules/video.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index 2a306b5f42..b614e2a665 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -225,7 +225,8 @@ define KernelPackage/drm
SUBMENU:=$(VIDEO_MENU)
TITLE:=Direct Rendering Manager (DRM) support
HIDDEN:=1
- DEPENDS:=+kmod-dma-buf +kmod-i2c-core +PACKAGE_kmod-backlight:kmod-backlight
+ DEPENDS:=+kmod-dma-buf +kmod-i2c-core +PACKAGE_kmod-backlight:kmod-backlight \
+ +(LINUX_5_15):kmod-fb
KCONFIG:=CONFIG_DRM
FILES:= \
$(LINUX_DIR)/drivers/gpu/drm/drm.ko \