Skip to contentSkip to conversation

MIPS: ralink: Drop obsolete USB_ARCH_HAS_HCD select

PATCH New James Hogan 1 participant 1 message Nov 8, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: ralink: Drop obsolete USB_ARCH_HAS_HCD select

From: James Hogan <[email protected]>

Building an allnoconfig kernel based on the ralink platform results in the following warning:

warning: (SOC_RT305X) selects USB_ARCH_HAS_HCD which has unmet direct dependencies (USB_SUPPORT)

This is because SOC_RT305X unconditionally selects USB_ARCH_HAS_HCD which depends on USB_SUPPORT.

However USB_ARCH_HAS_HCD has been effectively obsolete since commit d9ea21a77927 ("usb: host: make USB_ARCH_HAS_?HCI obsolete") in 3.11. USB_ARCH_HAS_HCD is now set by default whenever USB_SUPPORT is, so drop the select to silence the warning.

---
 arch/mips/ralink/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/mips/ralink/Kconfig +0 -1
index f26736b7080b..1f9cb0e3c79a 100644
@@ -31,7 +31,6 @@ choice
 
 	config SOC_RT305X
 		bool "RT305x"
-		select USB_ARCH_HAS_HCD
 
 	config SOC_RT3883
 		bool "RT3883"
Signature · 1 line
2.14.1