summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/interface.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-04-13 19:19:04 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2016-04-21 10:09:03 +0900
commit7c8eb12dbb4c1b43ce705a8ba1a5c9c1191e75d8 (patch)
tree3fce31fc4978c18503e4bf101708416f586f21c8 /drivers/staging/greybus/interface.h
parent7326e07b588cace823a36d4a563838b051b8b8a5 (diff)
greybus: interface: move vendor and product strings to control device
The control device is an abstraction of the control connection over which a greybus manifest is retrieved. As interfaces switch modes (e.g. after boot-over-unipro) they expose new manifests, which can contain different vendor and product strings. Eventually control devices will be deregistered and recreated after an interface mode switch, while the interface itself remains registered. Note that only interfaces of type greybus will have control devices. Specifically, dummy interfaces will not. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/interface.h')
-rw-r--r--drivers/staging/greybus/interface.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h
index 15c687f5dbc1..567b6c8ae713 100644
--- a/drivers/staging/greybus/interface.h
+++ b/drivers/staging/greybus/interface.h
@@ -25,10 +25,6 @@ struct gb_interface {
u8 interface_id; /* Physical location within the Endo */
u8 device_id;
- /* Information taken from the manifest descriptor */
- char *vendor_string;
- char *product_string;
-
u32 ddbl1_manufacturer_id;
u32 ddbl1_product_id;
u32 vendor_id;