summaryrefslogtreecommitdiff
path: root/drivers/usb/otg/Makefile
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2011-07-01 17:19:56 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:38:47 -0800
commit29c3588f59d579b7e8bc43f23cb5b35403c7a92c (patch)
tree17c50bfe4552cab05cadaf3adfed033370df9861 /drivers/usb/otg/Makefile
parent6ef1187c57335e8eda81d219cc915c690165065e (diff)
USB: OTG: Take wakelock when VBUS present
Enabled by default, can disable with: echo N > /sys/module/otg_wakelock/parameters/enabled Change-Id: I34974624c52ae23490852b44c270d2f326cf6116 Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'drivers/usb/otg/Makefile')
-rw-r--r--drivers/usb/otg/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/otg/Makefile b/drivers/usb/otg/Makefile
index 566655c53331..c42820718a4e 100644
--- a/drivers/usb/otg/Makefile
+++ b/drivers/usb/otg/Makefile
@@ -7,6 +7,7 @@ ccflags-$(CONFIG_USB_GADGET_DEBUG) += -DDEBUG
# infrastructure
obj-$(CONFIG_USB_OTG_UTILS) += otg.o
+obj-$(CONFIG_USB_OTG_WAKELOCK) += otg-wakelock.o
# transceiver drivers
obj-$(CONFIG_USB_GPIO_VBUS) += gpio_vbus.o