From: Vegard Nossum Date: Wed, 10 Feb 2016 14:29:44 +0000 (+0100) Subject: UPSTREAM: usb: add HAS_IOMEM dependency to USB_DWC2 X-Git-Tag: firefly_0821_release~890 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;ds=sidebyside;h=afbc5d805264ec4893fb76fd374521175339ccad;p=firefly-linux-kernel-4.4.55.git UPSTREAM: usb: add HAS_IOMEM dependency to USB_DWC2 drivers/built-in.o: In function `dwc2_driver_probe': /home/vegard/linux/drivers/usb/dwc2/platform.c:491: undefined reference to `devm_ioremap_resource' Change-Id: I34a1b15886144ece1dcd0561ed34995599eb2cd7 Signed-off-by: Vegard Nossum Signed-off-by: Greg Kroah-Hartman Signed-off-by: Huang, Tao (cherry picked from commit 89f1ec8ee251920dd1bf07abf7a14c62d81d5733) --- diff --git a/drivers/usb/dwc2/Kconfig b/drivers/usb/dwc2/Kconfig index fd95ba6ec317..b56920a56a7c 100644 --- a/drivers/usb/dwc2/Kconfig +++ b/drivers/usb/dwc2/Kconfig @@ -1,6 +1,7 @@ config USB_DWC2 tristate "DesignWare USB2 DRD Core Support" depends on USB || USB_GADGET + depends on HAS_IOMEM help Say Y here if your system has a Dual Role Hi-Speed USB controller based on the DesignWare HSOTG IP Core.