diff options
author | Mike Lockwood <lockwood@android.com> | 2011-03-14 18:28:55 -0400 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2011-05-31 05:58:17 -0700 |
commit | 84e582ad82a1eb610419e700d27c0799837cac0e (patch) | |
tree | 7d9b65bc712bcf34f2f5805662fd8be76e484c48 /include/linux | |
parent | 6cd10de16b93369d02f22c92b52d6a8303f73a37 (diff) |
USB: gadget: f_accessory: Add string for accessory's unique serial number
Signed-off-by: Mike Lockwood <lockwood@android.com>
(cherry picked from commit 99b7fdff26bdaa2dbdecd45db18834f9d7447632)
Change-Id: Ic4e663abf1a3c6d0ea21983f5e2171a34c0e6641
Reviewed-on: http://git-master/r/32891
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include/linux')
-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 977ad0a69c7e..ebcc5f34f554 100644 --- a/include/linux/usb/f_accessory.h +++ b/include/linux/usb/f_accessory.h @@ -34,6 +34,7 @@ #define ACCESSORY_STRING_DESCRIPTION 2 #define ACCESSORY_STRING_VERSION 3 #define ACCESSORY_STRING_URI 4 +#define ACCESSORY_STRING_SERIAL 5 /* Control request for retrieving device's protocol version (currently 1) * @@ -75,5 +76,6 @@ #define ACCESSORY_GET_STRING_DESCRIPTION _IOW('M', 3, char[256]) #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]) #endif /* __LINUX_USB_F_ACCESSORY_H */ |