Skip to content

Commit

Permalink
MIPS: ralink: Drop obsolete USB_ARCH_HAS_HCD select
Browse files Browse the repository at this point in the history
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
d9ea21a ("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.

Signed-off-by: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17618/
  • Loading branch information
James Hogan committed Nov 8, 2017
1 parent 56a46ac commit b2ec33d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/mips/ralink/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ choice

config SOC_RT305X
bool "RT305x"
select USB_ARCH_HAS_HCD

config SOC_RT3883
bool "RT3883"
Expand Down

0 comments on commit b2ec33d

Please sign in to comment.