mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-14 12:37:32 +00:00
usb: Move USB_UHCI_BIG_ENDIAN_* out of USB_SUPPORT
commitec897569ad
upstream. Move the Kconfig symbols USB_UHCI_BIG_ENDIAN_MMIO and USB_UHCI_BIG_ENDIAN_DESC out of drivers/usb/host/Kconfig, which is conditional upon USB && USB_SUPPORT, so that it can be freely selected by platform Kconfig symbols in architecture code. For example once the MIPS_GENERIC platform selects are fixed in commit2e6522c565
("MIPS: Fix typo BIG_ENDIAN to CPU_BIG_ENDIAN"), the MIPS 32r6_defconfig warns like so: warning: (MIPS_GENERIC) selects USB_UHCI_BIG_ENDIAN_MMIO which has unmet direct dependencies (USB_SUPPORT && USB) warning: (MIPS_GENERIC) selects USB_UHCI_BIG_ENDIAN_DESC which has unmet direct dependencies (USB_SUPPORT && USB) Fixes:2e6522c565
("MIPS: Fix typo BIG_ENDIAN to CPU_BIG_ENDIAN") Signed-off-by: James Hogan <jhogan@kernel.org> Cc: Corentin Labbe <clabbe.montjoie@gmail.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paul Burton <paul.burton@mips.com> Cc: linux-usb@vger.kernel.org Cc: linux-mips@linux-mips.org Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Patchwork: https://patchwork.linux-mips.org/patch/18559/ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ac98d5a624
commit
e4ea7c1222
2 changed files with 8 additions and 8 deletions
|
@ -19,6 +19,14 @@ config USB_EHCI_BIG_ENDIAN_MMIO
|
||||||
config USB_EHCI_BIG_ENDIAN_DESC
|
config USB_EHCI_BIG_ENDIAN_DESC
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config USB_UHCI_BIG_ENDIAN_MMIO
|
||||||
|
bool
|
||||||
|
default y if SPARC_LEON
|
||||||
|
|
||||||
|
config USB_UHCI_BIG_ENDIAN_DESC
|
||||||
|
bool
|
||||||
|
default y if SPARC_LEON
|
||||||
|
|
||||||
menuconfig USB_SUPPORT
|
menuconfig USB_SUPPORT
|
||||||
bool "USB support"
|
bool "USB support"
|
||||||
depends on HAS_IOMEM
|
depends on HAS_IOMEM
|
||||||
|
|
|
@ -637,14 +637,6 @@ config USB_UHCI_ASPEED
|
||||||
bool
|
bool
|
||||||
default y if ARCH_ASPEED
|
default y if ARCH_ASPEED
|
||||||
|
|
||||||
config USB_UHCI_BIG_ENDIAN_MMIO
|
|
||||||
bool
|
|
||||||
default y if SPARC_LEON
|
|
||||||
|
|
||||||
config USB_UHCI_BIG_ENDIAN_DESC
|
|
||||||
bool
|
|
||||||
default y if SPARC_LEON
|
|
||||||
|
|
||||||
config USB_FHCI_HCD
|
config USB_FHCI_HCD
|
||||||
tristate "Freescale QE USB Host Controller support"
|
tristate "Freescale QE USB Host Controller support"
|
||||||
depends on OF_GPIO && QE_GPIO && QUICC_ENGINE
|
depends on OF_GPIO && QE_GPIO && QUICC_ENGINE
|
||||||
|
|
Loading…
Reference in a new issue