usb: add HAS_IOMEM dependency to USB_MUSB_TUSB6010
authorVegard Nossum <vegard.nossum@oracle.com>
Wed, 10 Feb 2016 14:29:41 +0000 (15:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 01:09:56 +0000 (17:09 -0800)
commit49f77e3dbb1b91f754da93764ba020ea5eddb6ed
tree0c101915061c8a6526400f67c2bc1657faac8b3a
parente37a6c920ac1c22206350492b7d229f05c0849e4
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>
drivers/usb/musb/Kconfig