usb: add HAS_IOMEM dependency to USB_PXA27X
authorVegard Nossum <vegard.nossum@oracle.com>
Wed, 10 Feb 2016 14:29:52 +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 70feaf2..d6ad7e6 100644 (file)
@@ -188,6 +188,7 @@ config USB_RENESAS_USB3
 
 config USB_PXA27X
        tristate "PXA 27x"
+       depends on HAS_IOMEM
        help
           Intel's PXA 27x series XScale ARM v5TE processors include
           an integrated full speed USB 1.1 device controller.