summaryrefslogtreecommitdiff
path: root/drivers/power/Kconfig
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-05-31 13:07:47 +0300
committerTao Huang <huangtao@rock-chips.com>2018-04-27 10:27:04 +0800
commit9af9852cc108ee44e03fbd35edac379ed124eab4 (patch)
treeadbb6329c0ca64af567b0262a43240b84b8d8047 /drivers/power/Kconfig
parent00011b0208bbf96e7995fc2b7fe0ec23e66ec3bb (diff)
UPSTREAM: usb: gadget: move gadget API functions to udc-core
instead of defining all functions as static inlines, let's move them to udc-core and export them with EXPORT_SYMBOL_GPL, that way we can make sure that only GPL drivers will use them. As a side effect, it'll be nicer to add tracepoints to the gadget API. While at that, also fix Kconfig dependencies to avoid randconfig build failures. Change-Id: I3fcc99c0730608076cfa8624908e58b7ee6f1bef Acked-By: Sebastian Reichel <sre@kernel.org> Acked-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: William Wu <william.wu@rock-chips.com> (cherry-picked from commit 5a8d651a2bde01e00caf78496390d6ae46df80af)
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r--drivers/power/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 262c73058c60..9dfd965ac39f 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -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.