diff options
author | 2017-04-25 23:49:47 +0200 | |
---|---|---|
committer | 2017-05-17 12:20:53 +0200 | |
commit | a86c309e71dc4f43c68483f7e328b1d4f9fef618 (patch) | |
tree | 7cf77aa33e3644ec0a09133a14439d99eed3d3a8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: udc: core: Error if req->buf is either from vmalloc or stack (diff) | |
download | linux-dev-a86c309e71dc4f43c68483f7e328b1d4f9fef618.tar.xz linux-dev-a86c309e71dc4f43c68483f7e328b1d4f9fef618.zip |
usb: typec: Don't prevent using constant typec_mode_desc initializers
In some situations, e.g. when registering alternate modes for local typec
ports, it may be handy to use constant mode descriptors. Allow this by
changing the mode descriptor arguments of typec_port_register_altmode()
et.al. to using const pointers.
Signed-off-by: Mats Karrman <mats.dev.list@gmail.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions