[PATCH] sh: Use generic OHCI platform provider symbol
Pengpeng Hou <[email protected]> Wed, 24 Jun 2026 16:19:26 +0800
| Newsgroups | org.kernel.vger.linux-sh,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
The old SuperH-specific `USB_OHCI_SH` provider symbol no longer carries an OHCI provider object. The current platform OHCI provider is `USB_OHCI_HCD_PLATFORM`, which builds ohci-platform.o. Several SH CPU subtypes still select `USB_OHCI_SH`, and the sh7757lcr defconfig still enables it directly. Switch both the subtype selects and the defconfig to `USB_OHCI_HCD_PLATFORM` so the intended OHCI provider remains reachable when `USB_OHCI_HCD` is enabled. Signed-off-by: Pengpeng Hou <[email protected]> --- arch/sh/Kconfig | 8 ++++---- arch/sh/configs/sh7757lcr_defconfig | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -331,7 +331,7 @@ config CPU_SUBTYPE_SH7720 select CPU_SH3 select CPU_HAS_DSP select SYS_SUPPORTS_SH_CMT - select USB_OHCI_SH if USB_OHCI_HCD + select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD select PINCTRL help Select SH7720 if you have a SH3-DSP SH7720 CPU. @@ -341,6 +341,6 @@ config CPU_SUBTYPE_SH7721 bool "Support SH7721 processor" select CPU_SH3 select CPU_HAS_DSP - select USB_OHCI_SH if USB_OHCI_HCD + select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD help Select SH7721 if you have a SH3-DSP SH7721 CPU. @@ -426,5 +426,5 @@ config CPU_SUBTYPE_SH7763 bool "Support SH7763 processor" select CPU_SH4A - select USB_OHCI_SH if USB_OHCI_HCD + select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD help Select SH7763 if you have a SH4A SH7763(R5S77631) CPU. @@ -452,5 +452,5 @@ config CPU_SUBTYPE_SH7786 select CPU_HAS_PTEAEX select GENERIC_CLOCKEVENTS_BROADCAST if SMP - select USB_OHCI_SH if USB_OHCI_HCD + select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD select USB_EHCI_SH if USB_EHCI_HCD select PINCTRL diff --git a/arch/sh/configs/sh7757lcr_defconfig b/arch/sh/configs/sh7757lcr_defconfig --- a/arch/sh/configs/sh7757lcr_defconfig +++ b/arch/sh/configs/sh7757lcr_defconfig @@ -58,8 +58,8 @@ CONFIG_HWMON is not set CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_SH=y CONFIG_USB_OHCI_HCD=y -CONFIG_USB_OHCI_SH=y +CONFIG_USB_OHCI_HCD_PLATFORM=y CONFIG_USB_STORAGE=y CONFIG_MMC=y CONFIG_MMC_SDHI=y