stm32: add missing SUBMENU for kmod-phy-stm32-usbphyc and kmod-stm32-timers
authorThomas Richard <[email protected]>
Tue, 14 Jan 2025 18:51:05 +0000 (19:51 +0100)
committerHauke Mehrtens <[email protected]>
Sat, 19 Apr 2025 16:41:23 +0000 (18:41 +0200)
Move kmod-phy-stm32-usbphyc in the "USB Support" menu and kmod-stm32-timers
in "Other modules" menu.

Signed-off-by: Thomas Richard <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18119
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/stm32/modules.mk

index 2a9ec36e46d930af3157d2f398d39884b82b287a..2249218105ac423e36e7f5fc59ba9cbcd6adca71 100644 (file)
@@ -5,6 +5,7 @@
 define KernelPackage/phy-stm32-usbphyc
   TITLE:=STM32 USB HS PHY Controller driver
   DEPENDS:=@TARGET_stm32
+  SUBMENU:=$(USB_MENU)
   KCONFIG:=CONFIG_PHY_STM32_USBPHYC
   FILES:=$(LINUX_DIR)/drivers/phy/st/phy-stm32-usbphyc.ko
   AUTOLOAD:=$(call AutoProbe,phy-stm32-usbphyc,)
@@ -118,6 +119,7 @@ $(eval $(call KernelPackage,sound-soc-stm32-dfsdm))
 define KernelPackage/stm32-timers
   TITLE:=STM32 Timers
   DEPENDS:=@TARGET_stm32 +kmod-mfd
+  SUBMENU:=$(OTHER_MENU)
   KCONFIG:=CONFIG_MFD_STM32_TIMERS
   FILES:=$(LINUX_DIR)/drivers/mfd/stm32-timers.ko
   AUTOLOAD:=$(call AutoProbe,stm32-timers)