usb: add HAS_IOMEM dependency to USB_MUSB_HDRC
authorVegard Nossum <vegard.nossum@oracle.com>
Wed, 10 Feb 2016 14:29:48 +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 `musb_probe':
/home/vegard/linux/drivers/usb/musb/musb_core.c:2304: 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/musb/Kconfig

index 0401573f79aaf6b67159f7a574ab472ecfe7782c..886526b5fcddbfcae620b2587f1c1a1125a4933c 100644 (file)
@@ -7,6 +7,7 @@
 config USB_MUSB_HDRC
        tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, AW, ...)'
        depends on (USB || USB_GADGET)
+       depends on HAS_IOMEM
        help
          Say Y here if your system has a dual role high speed USB
          controller based on the Mentor Graphics silicon IP.  Then