kernel: modules: fix kmod-drm dependency for 5.15
authorPetr Štetiar <ynezz@true.cz>
Tue, 29 Mar 2022 11:33:25 +0000 (13:33 +0200)
committerPetr Štetiar <ynezz@true.cz>
Wed, 30 Mar 2022 21:39:08 +0000 (23:39 +0200)
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>
package/kernel/linux/modules/video.mk

index 2a306b5f42898ee906ae1a56c9f84f647856666b..b614e2a665aacf648355b0a7e21c7751a406df9b 100644 (file)
@@ -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 \