summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/Kconfig
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@oracle.com>2016-02-10 15:29:39 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-14 17:09:56 -0800
commit828638e91915e347f0721ae2a2cb137c910dc592 (patch)
tree7a2b7c7bc0905e707835e4803cc42fda8a719494 /drivers/usb/host/Kconfig
parentbe6708e6f2d13b26bfdc416b5bf31c942ccff72c (diff)
downloadlinux-stable-828638e91915e347f0721ae2a2cb137c910dc592.tar.gz
linux-stable-828638e91915e347f0721ae2a2cb137c910dc592.tar.bz2
linux-stable-828638e91915e347f0721ae2a2cb137c910dc592.zip
usb: add HAS_IOMEM dependency to USB_XHCI_MVEBU
drivers/usb/host/xhci-mvebu.c: In function ‘xhci_mvebu_mbus_init_quirk’: drivers/usb/host/xhci-mvebu.c:58:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration] base = ioremap(res->start, resource_size(res)); ^ drivers/usb/host/xhci-mvebu.c:58:7: warning: assignment makes pointer from integer without a cast [enabled by default] base = ioremap(res->start, resource_size(res)); ^ drivers/usb/host/xhci-mvebu.c:69:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration] iounmap(base); ^ Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com> Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/Kconfig')
-rw-r--r--drivers/usb/host/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 64d78b1560ee..bf68bd8b60de 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -53,6 +53,7 @@ config USB_XHCI_MTK
config USB_XHCI_MVEBU
tristate "xHCI support for Marvell Armada 375/38x"
select USB_XHCI_PLATFORM
+ depends on HAS_IOMEM
depends on ARCH_MVEBU || COMPILE_TEST
---help---
Say 'Y' to enable the support for the xHCI host controller