diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-07-19 15:24:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-07-19 19:03:32 -0700 |
commit | 1bb61840c4db64e27f0077dcfc5389e662022d40 (patch) | |
tree | e3aa4d1007bc2b19624d1ebb357a605ef5d04b12 /drivers/staging | |
parent | d29b67d44a7cf6d02e7319c0e5a4b729a0aa00e7 (diff) |
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')
-rw-r--r-- | drivers/staging/greybus/Documentation/sysfs-bus-greybus | 8 | ||||
-rw-r--r-- | drivers/staging/greybus/interface.c | 25 | ||||
-rw-r--r-- | drivers/staging/greybus/interface.h | 1 |
3 files changed, 34 insertions, 0 deletions
diff --git a/drivers/staging/greybus/Documentation/sysfs-bus-greybus b/drivers/staging/greybus/Documentation/sysfs-bus-greybus |