]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
airoha: rename kmod-pwm-an7581 to kmod-pwm-airoha 22466/head
authorKenneth Kasilag <kenneth@kasilag.me>
Mon, 16 Mar 2026 09:25:53 +0000 (09:25 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 25 Mar 2026 19:25:22 +0000 (20:25 +0100)
Certain targets for an7581 and an7583 referred to kmod-pwm-airoha;
however in the target modules makefile the module is referred to
as kmod-pwm-an7581, causing buildbot to fail.

Change the name of kmod-pwm-an7581 to kmod-pwm-airoha to resolve this.

Signed-off-by: Kenneth Kasilag <kenneth@kasilag.me>
Link: https://github.com/openwrt/openwrt/pull/22445
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 7d2c244646d9caf895e5e03ea8f47f4089c2abec)
Link: https://github.com/openwrt/openwrt/pull/22466
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/airoha/modules.mk

index cbefe38996f8cd09dc679bd140869c706a4487ce..3a038f57d0b63d23f886717f18d7dcf3c8f5e6ab 100644 (file)
@@ -20,10 +20,10 @@ endef
 $(eval $(call KernelPackage,i2c-an7581))
 
 
-define KernelPackage/pwm-an7581
+define KernelPackage/pwm-airoha
   SUBMENU:=$(OTHER_MENU)
-  TITLE:=Airoha EN7581 PWM
-  DEPENDS:=@(TARGET_airoha_an7581)
+  TITLE:=Airoha AN7581 and AN7583 PWM
+  DEPENDS:=@TARGET_airoha_an7581||TARGET_airoha_an7583
   KCONFIG:= \
         CONFIG_PWM=y \
         CONFIG_PWM_AIROHA=y \
@@ -33,10 +33,10 @@ define KernelPackage/pwm-an7581
   AUTOLOAD:=$(call AutoProbe,pwm-airoha)
 endef
 
-define KernelPackage/pwm-an7581/description
+define KernelPackage/pwm-airoha/description
  Kernel module to use the PWM channel on Airoha SoC
 endef
 
-$(eval $(call KernelPackage,pwm-an7581))
+$(eval $(call KernelPackage,pwm-airoha))