summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/interface.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-07-19 15:24:46 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2016-07-19 19:03:32 -0700
commit1bb61840c4db64e27f0077dcfc5389e662022d40 (patch)
treee3aa4d1007bc2b19624d1ebb357a605ef5d04b12 /drivers/staging/greybus/interface.h
parentd29b67d44a7cf6d02e7319c0e5a4b729a0aa00e7 (diff)
downloadop-kernel-dev-1bb61840c4db64e27f0077dcfc5389e662022d40.zip
op-kernel-dev-1bb61840c4db64e27f0077dcfc5389e662022d40.tar.gz
greybus: interface: add interface-type attribute
Add an interface-type string attribute that represents the detected interface type as either "dummy", "unipro", "greybus", or "unknown". Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Sandeep Patil <sspatil@google.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h
index 8796c55..05a3909 100644
--- a/drivers/staging/greybus/interface.h
+++ b/drivers/staging/greybus/interface.h
@@ -26,6 +26,7 @@ struct gb_interface {
u8 interface_id; /* Physical location within the Endo */
u8 device_id;
u8 features; /* Feature flags set in the manifest */
+ u8 type;
u32 ddbl1_manufacturer_id;
u32 ddbl1_product_id;
OpenPOWER on IntegriCloud