bcm27xx: add pwm-fan dependency to RPi PoE
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 22 May 2022 20:04:08 +0000 (22:04 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 22 May 2022 20:06:13 +0000 (22:06 +0200)
This is needed for the fan in the PoE hat to work.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bcm27xx/modules/other.mk

index 26e5989be4fcb238b093b742cd7cfe69aadca075..a9103029edb2d0f593afb040ccb044e2d4f117ef 100644 (file)
@@ -10,7 +10,7 @@ define KernelPackage/pwm-raspberrypi-poe
     CONFIG_PWM_RASPBERRYPI_POE
   FILES:=$(LINUX_DIR)/drivers/pwm/pwm-raspberrypi-poe.ko
   AUTOLOAD:=$(call AutoLoad,20,pwm-raspberrypi-poe)
-  DEPENDS:=@TARGET_bcm27xx @LINUX_5_15
+  DEPENDS:=@TARGET_bcm27xx @LINUX_5_15 +kmod-hwmon-pwmfan
 endef
 
 define KernelPackage/pwm-raspberrypi-poe/description