Browse Source

usb: add HAS_IOMEM dependency to USB_FOTG210_HCD

drivers/built-in.o: In function `fotg210_hcd_probe':
/home/vegard/linux/drivers/usb/host/fotg210-hcd.c:5637: undefined reference to `devm_ioremap_resource'

Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Vegard Nossum 9 years ago
parent
commit
eaa86229ff
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/usb/host/Kconfig

+ 1 - 0
drivers/usb/host/Kconfig

@@ -367,6 +367,7 @@ config USB_ISP1362_HCD
 config USB_FOTG210_HCD
 config USB_FOTG210_HCD
 	tristate "FOTG210 HCD support"
 	tristate "FOTG210 HCD support"
 	depends on USB
 	depends on USB
+	depends on HAS_IOMEM
 	---help---
 	---help---
 	  Faraday FOTG210 is an OTG controller which can be configured as
 	  Faraday FOTG210 is an OTG controller which can be configured as
 	  an USB2.0 host. It is designed to meet USB2.0 EHCI specification
 	  an USB2.0 host. It is designed to meet USB2.0 EHCI specification