summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/control.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/greybus/control.h')
-rw-r--r--drivers/staging/greybus/control.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/greybus/control.h b/drivers/staging/greybus/control.h
index 3248d965e593..da0fa6652dca 100644
--- a/drivers/staging/greybus/control.h
+++ b/drivers/staging/greybus/control.h
@@ -14,6 +14,11 @@ struct gb_control {
struct gb_connection *connection;
};
+struct gb_control *gb_control_create(struct gb_interface *intf);
+int gb_control_enable(struct gb_control *control);
+void gb_control_disable(struct gb_control *control);
+void gb_control_destroy(struct gb_control *control);
+
int gb_control_connected_operation(struct gb_control *control, u16 cport_id);
int gb_control_disconnected_operation(struct gb_control *control, u16 cport_id);
int gb_control_get_manifest_size_operation(struct gb_interface *intf);