]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
usb: Move USB_UHCI_BIG_ENDIAN_* out of USB_SUPPORT
authorJames Hogan <jhogan@kernel.org>
Wed, 31 Jan 2018 22:24:45 +0000 (22:24 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 23 Feb 2018 14:27:41 +0000 (08:27 -0600)
commitab734be0aacf01686dc26194d9d8b931fc01aef5
treeba1fa51ac0fb472fbd9bbf74f1a0f84d25fffd8e
parentd1f1b13dfe17e5f1a110574b419941c3fbf90406
usb: Move USB_UHCI_BIG_ENDIAN_* out of USB_SUPPORT

BugLink: http://bugs.launchpad.net/bugs/1751131
commit ec897569ad7dbc6d595873a487c3fac23f463f76 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 commit
2e6522c56552 ("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: 2e6522c56552 ("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>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/usb/Kconfig
drivers/usb/host/Kconfig