Skip to content

Commit 7b61ca5

Browse files
committed
sh: Fix up unmet dependency warnings with USB EHCI/OHCI selects.
Signed-off-by: Paul Mundt <[email protected]>
1 parent 6afba9e commit 7b61ca5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

arch/sh/Kconfig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ config CPU_SUBTYPE_SH7720
348348
select SYS_SUPPORTS_CMT
349349
select ARCH_WANT_OPTIONAL_GPIOLIB
350350
select USB_ARCH_HAS_OHCI
351-
select USB_OHCI_SH
351+
select USB_OHCI_SH if USB_OHCI_HCD
352352
help
353353
Select SH7720 if you have a SH3-DSP SH7720 CPU.
354354

@@ -358,7 +358,7 @@ config CPU_SUBTYPE_SH7721
358358
select CPU_HAS_DSP
359359
select SYS_SUPPORTS_CMT
360360
select USB_ARCH_HAS_OHCI
361-
select USB_OHCI_SH
361+
select USB_OHCI_SH if USB_OHCI_HCD
362362
help
363363
Select SH7721 if you have a SH3-DSP SH7721 CPU.
364364

@@ -442,7 +442,7 @@ config CPU_SUBTYPE_SH7763
442442
bool "Support SH7763 processor"
443443
select CPU_SH4A
444444
select USB_ARCH_HAS_OHCI
445-
select USB_OHCI_SH
445+
select USB_OHCI_SH if USB_OHCI_HCD
446446
help
447447
Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
448448

@@ -470,9 +470,9 @@ config CPU_SUBTYPE_SH7786
470470
select GENERIC_CLOCKEVENTS_BROADCAST if SMP
471471
select ARCH_WANT_OPTIONAL_GPIOLIB
472472
select USB_ARCH_HAS_OHCI
473-
select USB_OHCI_SH
473+
select USB_OHCI_SH if USB_OHCI_HCD
474474
select USB_ARCH_HAS_EHCI
475-
select USB_EHCI_SH
475+
select USB_EHCI_SH if USB_EHCI_HCD
476476

477477
config CPU_SUBTYPE_SHX3
478478
bool "Support SH-X3 processor"

0 commit comments

Comments
 (0)