]> git.baikalelectronics.ru Git - kernel.git/commit
usb: host: Do not compile test deprecated USB_OCTEON_EHCI
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 31 Dec 2019 07:46:32 +0000 (08:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 08:26:18 +0000 (09:26 +0100)
commit2c73cdcb30318f169d8de19eabe2a49cb44e6d35
tree7bd0aedd836264f9a3b50a5e3ad835d4cd254da7
parent0a6e508ebe3362ed3e8f19c0a4f1d3c56323c5eb
usb: host: Do not compile test deprecated USB_OCTEON_EHCI

The USB_OCTEON_EHCI is deprecated and only selects proper driver so
there is no need to compile test it.  Since it selects
USB_EHCI_BIG_ENDIAN_MMIO it causes compilation failures on certain big
endian architectures (e.g. m68k):

    In file included from drivers/usb/host/ehci-mxc.c:19:0:
    drivers/usb/host/ehci.h: In function ‘ehci_readl’:
    drivers/usb/host/ehci.h:743:3: error:
        implicit declaration of function ‘readl_be’ [-Werror=implicit-function-declaration]

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/1577778392-570-1-git-send-email-krzk@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/Kconfig