Commit be6708e6 authored by Vegard Nossum's avatar Vegard Nossum Committed by Greg Kroah-Hartman

usb: Add HAS_IOMEM dependency to USB_M66592

drivers/usb/gadget/udc/m66592-udc.c: In function ‘m66592_remove’:
drivers/usb/gadget/udc/m66592-udc.c:1538:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
  iounmap(m66592->reg);
  ^
drivers/usb/gadget/udc/m66592-udc.c: In function ‘m66592_probe’:
drivers/usb/gadget/udc/m66592-udc.c:1577:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]
  reg = ioremap(res->start, resource_size(res));
  ^
drivers/usb/gadget/udc/m66592-udc.c:1577:6: warning: assignment makes pointer from integer without a cast [enabled by default]
  reg = ioremap(res->start, resource_size(res));
      ^
Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7562b75b
...@@ -244,6 +244,7 @@ config USB_MV_U3D ...@@ -244,6 +244,7 @@ config USB_MV_U3D
config USB_M66592 config USB_M66592
tristate "Renesas M66592 USB Peripheral Controller" tristate "Renesas M66592 USB Peripheral Controller"
depends on HAS_IOMEM
help help
M66592 is a discrete USB peripheral controller chip that M66592 is a discrete USB peripheral controller chip that
supports both full and high speed USB 2.0 data transfers. supports both full and high speed USB 2.0 data transfers.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment