usb: add HAS_IOMEM dependency to USB_PXA25X
authorVegard Nossum <vegard.nossum@oracle.com>
Wed, 10 Feb 2016 14:29:49 +0000 (15:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 01:09:56 +0000 (17:09 -0800)
drivers/built-in.o: In function `pxa_udc_probe':
/home/vegard/linux/drivers/usb/gadget/udc/pxa27x_udc.c:2430: undefined reference to `devm_ioremap_resource'

Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/Kconfig

index e06efa3..70feaf2 100644 (file)
@@ -128,6 +128,7 @@ config USB_OMAP
 config USB_PXA25X
        tristate "PXA 25x or IXP 4xx"
        depends on (ARCH_PXA && PXA25x) || ARCH_IXP4XX
+       depends on HAS_IOMEM
        help
           Intel's PXA 25x series XScale ARM-5TE processors include
           an integrated full speed USB 1.1 device controller.  The