• Vegard Nossum's avatar
    usb: add HAS_IOMEM dependency to USB_C67X00_HCD · 149737a7
    Vegard Nossum authored
      CC      drivers/usb/c67x00/c67x00-drv.o
    drivers/usb/c67x00/c67x00-drv.c: In function ‘c67x00_drv_probe’:
    drivers/usb/c67x00/c67x00-drv.c:148:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]
      c67x00->hpi.base = ioremap(res->start, resource_size(res));
      ^
    drivers/usb/c67x00/c67x00-drv.c:148:19: warning: assignment makes pointer from integer without a cast [enabled by default]
      c67x00->hpi.base = ioremap(res->start, resource_size(res));
                       ^
    drivers/usb/c67x00/c67x00-drv.c:185:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
      iounmap(c67x00->hpi.base);
      ^
    Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    149737a7
Kconfig 25.5 KB