• Vegard Nossum's avatar
    usb: Add HAS_IOMEM dependency to USB_M66592 · be6708e6
    Vegard Nossum authored
    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>
    be6708e6
Kconfig 14.6 KB