aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2011-09-20 17:56:45 -0700
committerPraneeth Bajjuri <praneeth@ti.com>2011-09-20 17:57:55 -0700
commit7c12d243006cc806b40587a06695ea122dceac83 (patch)
treefd868ed80fb20d12b55d9d31841b946e0ef84b81 /include/linux
parent70482d9859db1bd1b0ad8bb58848818325f74837 (diff)
USB: gadget: f_accessory: Add ioctl to detect USB accessory attached at boot
Signed-off-by: Mike Lockwood <lockwood@android.com> Merge conflict resolve Change-Id: Iae7ec796ef5361ec3c58ba687b023b42e1049b90 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb/f_accessory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/f_accessory.h b/include/linux/usb/f_accessory.h
index ebcc5f34f55..5b2dcf9728e 100644
--- a/include/linux/usb/f_accessory.h
+++ b/include/linux/usb/f_accessory.h
@@ -77,5 +77,7 @@
#define ACCESSORY_GET_STRING_VERSION _IOW('M', 4, char[256])
#define ACCESSORY_GET_STRING_URI _IOW('M', 5, char[256])
#define ACCESSORY_GET_STRING_SERIAL _IOW('M', 6, char[256])
+/* returns 1 if there is a start request pending */
+#define ACCESSORY_IS_START_REQUESTED _IO('M', 7)
#endif /* __LINUX_USB_F_ACCESSORY_H */