greybus: control: Drop get_version support
[cascardo/linux.git] / drivers / staging / greybus / control.h
1 /*
2  * Greybus CPort control protocol
3  *
4  * Copyright 2015 Google Inc.
5  * Copyright 2015 Linaro Ltd.
6  *
7  * Released under the GPLv2 only.
8  */
9
10 #ifndef __CONTROL_H
11 #define __CONTROL_H
12
13 struct gb_control {
14         struct gb_connection    *connection;
15 };
16
17 int gb_control_connected_operation(struct gb_control *control, u16 cport_id);
18 int gb_control_disconnected_operation(struct gb_control *control, u16 cport_id);
19 int gb_control_get_manifest_size_operation(struct gb_interface *intf);
20 int gb_control_get_manifest_operation(struct gb_interface *intf, void *manifest,
21                                       size_t size);
22
23 int gb_control_protocol_init(void);
24 void gb_control_protocol_exit(void);
25 #endif /* __CONTROL_H */