usb: gadget: move gadget API functions to udc-core
[cascardo/linux.git] / drivers / power / Kconfig
index 421770d..0f11a0f 100644 (file)
@@ -309,6 +309,7 @@ config BATTERY_RX51
 config CHARGER_ISP1704
        tristate "ISP1704 USB Charger Detection"
        depends on USB_PHY
+       depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
        help
          Say Y to enable support for USB Charger Detection with
          ISP1707/ISP1704 USB transceivers.