diff options
author | Mike Lockwood <lockwood@android.com> | 2011-10-25 11:39:46 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-10-25 11:39:46 +0800 |
commit | 92f4cbc3c4d218b03c2635e4bea2aaa888c50e22 (patch) | |
tree | 50eb5b70b2185bae0de7dd5b938cfd2307f4f23a /include | |
parent | 4fe0666c69c558265f72824d9073b5b62844b889 (diff) |
USB: gadget: f_accessory: Add ioctl to detect USB accessory attached at boot
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/f_accessory.h | 2 |
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 */ |