diff options
author | Vegard Nossum <vegard.nossum@oracle.com> | 2016-02-10 15:29:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-14 17:09:56 -0800 |
commit | 49f77e3dbb1b91f754da93764ba020ea5eddb6ed (patch) | |
tree | 0c101915061c8a6526400f67c2bc1657faac8b3a /drivers/usb/musb | |
parent | e37a6c920ac1c22206350492b7d229f05c0849e4 (diff) | |
download | linux-stable-49f77e3dbb1b91f754da93764ba020ea5eddb6ed.tar.gz linux-stable-49f77e3dbb1b91f754da93764ba020ea5eddb6ed.tar.bz2 linux-stable-49f77e3dbb1b91f754da93764ba020ea5eddb6ed.zip |
usb: add HAS_IOMEM dependency to USB_MUSB_TUSB6010
CC drivers/usb/musb/tusb6010.o
drivers/usb/musb/tusb6010.c: In function ‘tusb_musb_init’:
drivers/usb/musb/tusb6010.c:1133:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]
sync = ioremap(mem->start, resource_size(mem));
^
drivers/usb/musb/tusb6010.c:1133:7: warning: assignment makes pointer from integer without a cast [enabled by default]
sync = ioremap(mem->start, resource_size(mem));
^
drivers/usb/musb/tusb6010.c:1162:4: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
iounmap(sync);
^
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r-- | drivers/usb/musb/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index 45c83baf675d..0401573f79aa 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig @@ -85,6 +85,7 @@ config USB_MUSB_DA8XX config USB_MUSB_TUSB6010 tristate "TUSB6010" + depends on HAS_IOMEM depends on ARCH_OMAP2PLUS || COMPILE_TEST depends on NOP_USB_XCEIV = USB_MUSB_HDRC # both built-in or both modules |