diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2014-05-20 09:38:03 -1000 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-06-19 08:51:35 -0500 |
commit | f2af74123f8c5a735248547f4286a3adc28633c1 (patch) | |
tree | 18b2bf16a18b6e4f65f11d42fc0aaa2ec798683e /include/uapi | |
parent | 5cd8c48d95c10f729090c89757727e090719fd83 (diff) | |
download | op-kernel-dev-f2af74123f8c5a735248547f4286a3adc28633c1.zip op-kernel-dev-f2af74123f8c5a735248547f4286a3adc28633c1.tar.gz |
tools: ffs-test: convert to new descriptor format fixing compilation error
Commit [ac8dde11: “usb: gadget: f_fs: Add flags to descriptors block”]
which introduced a new descriptor format for FunctionFS removed the
usb_functionfs_descs_head structure, which is still used by ffs-test.
tool.
Convert ffs-test by converting it to use the new header format. For
testing kernels prior to 3.14 (when the new format was introduced) and
parsing of the legacy headers in the new kernels, provide a compilation
flag to make the tool use the old format.
Finally, include information as to when the legacy FunctionFS headers
format has been deprecated (which is also when the new one has been
introduced).
Reported-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/usb/functionfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/usb/functionfs.h b/include/uapi/linux/usb/functionfs.h index 2a4b4a7..ecb3a31 100644 --- a/include/uapi/linux/usb/functionfs.h +++ b/include/uapi/linux/usb/functionfs.h @@ -53,7 +53,7 @@ struct usb_endpoint_descriptor_no_audio { * structure. Any flags that are not recognised cause the whole block to be * rejected with -ENOSYS. * - * Legacy descriptors format: + * Legacy descriptors format (deprecated as of 3.14): * * | off | name | type | description | * |-----+-----------+--------------+--------------------------------------| |