Просмотр исходного кода

ramips: rename pwm kernel module

With kernel 4.14 the OpenWrt specific module name collides with the
upstream added module for Mediatek ARM Socs.

During addition of preliminary support for kernel 4.14, the config
symbol used by the out of tree driver was already renamed but the ramips
kernel package wasn't updated.

Fix the build error by updating the config and kernel module name for
the kernel package.

Signed-off-by: Mathias Kresin <[email protected]>
Mathias Kresin 7 лет назад
Родитель
Сommit
dda5d9b786
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      target/linux/ramips/modules.mk

+ 5 - 5
target/linux/ramips/modules.mk

@@ -7,24 +7,24 @@
 
 
 OTHER_MENU:=Other modules
 OTHER_MENU:=Other modules
 
 
-define KernelPackage/pwm-mediatek
+define KernelPackage/pwm-mediatek-ramips
   SUBMENU:=Other modules
   SUBMENU:=Other modules
   TITLE:=MT7628 PWM
   TITLE:=MT7628 PWM
   DEPENDS:=@(TARGET_ramips_mt76x8)
   DEPENDS:=@(TARGET_ramips_mt76x8)
   KCONFIG:= \
   KCONFIG:= \
 	CONFIG_PWM=y \
 	CONFIG_PWM=y \
-	CONFIG_PWM_MEDIATEK \
+	CONFIG_PWM_MEDIATEK_RAMIPS \
 	CONFIG_PWM_SYSFS=y
 	CONFIG_PWM_SYSFS=y
   FILES:= \
   FILES:= \
-	$(LINUX_DIR)/drivers/pwm/pwm-mediatek.ko
-  AUTOLOAD:=$(call AutoProbe,pwm-mediatek)
+	$(LINUX_DIR)/drivers/pwm/pwm-mediatek-ramips.ko
+  AUTOLOAD:=$(call AutoProbe,pwm-mediatek-ramips)
 endef
 endef
 
 
 define KernelPackage/pwm-mediatek/description
 define KernelPackage/pwm-mediatek/description
   Kernel modules for MediaTek Pulse Width Modulator
   Kernel modules for MediaTek Pulse Width Modulator
 endef
 endef
 
 
-$(eval $(call KernelPackage,pwm-mediatek))
+$(eval $(call KernelPackage,pwm-mediatek-ramips))
 
 
 define KernelPackage/sdhci-mt7620
 define KernelPackage/sdhci-mt7620
   SUBMENU:=Other modules
   SUBMENU:=Other modules