summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/connection.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-01-19 12:51:20 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2016-01-19 12:17:13 -0800
commit96a9b9b0eb2c5b9626bdad02c057fb22f133fc86 (patch)
tree7d7d6607d4ce465b9a71b8a468cbce9d2372924f /drivers/staging/greybus/connection.h
parent357de006573f0dbbd5e214dd3f2fe808157ec530 (diff)
greybus: connection: remove broken protocol-version handling
Remove the broken legacy protocol-version handling from core and move it to the legacy driver instead. Note that version handling has always been broken as legacy protocols were looked up and bound to connections before the connections were enabled and version negotiation could take place (over that very connection). Document that in the legacy driver as well. Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/connection.h')
-rw-r--r--drivers/staging/greybus/connection.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/greybus/connection.h b/drivers/staging/greybus/connection.h
index 33deeb64dd29..66f37b2f4a38 100644
--- a/drivers/staging/greybus/connection.h
+++ b/drivers/staging/greybus/connection.h
@@ -39,8 +39,6 @@ struct gb_connection {
struct gb_protocol *protocol;
u8 protocol_id;
- u8 major;
- u8 minor;
u8 module_major;
u8 module_minor;