diff options
author | Vegard Nossum <vegard.nossum@oracle.com> | 2016-02-10 09:29:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-14 20:09:56 -0500 |
commit | 89f1ec8ee251920dd1bf07abf7a14c62d81d5733 (patch) | |
tree | 53d831615af02528a830f0662952dd7c0abf3094 | |
parent | cfa33eaeeeb89ec90ea7062b0e4035552b8dbb56 (diff) |
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'
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/dwc2/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ | |||
1 | config USB_DWC2 | 1 | config USB_DWC2 |
2 | tristate "DesignWare USB2 DRD Core Support" | 2 | tristate "DesignWare USB2 DRD Core Support" |
3 | depends on USB || USB_GADGET | 3 | depends on USB || USB_GADGET |
4 | depends on HAS_IOMEM | ||
4 | help | 5 | help |
5 | Say Y here if your system has a Dual Role Hi-Speed USB | 6 | Say Y here if your system has a Dual Role Hi-Speed USB |
6 | controller based on the DesignWare HSOTG IP Core. | 7 | controller based on the DesignWare HSOTG IP Core. |