summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/control.h
diff options
context:
space:
mode:
authorDavid Lin <dtwlin@google.com>2016-07-07 22:07:00 -0500
committerAlex Elder <elder@linaro.org>2016-07-08 14:56:28 -0500
commit707a5c42ce55938de599e4461384efafd6950c37 (patch)
treebb8ee07bbe0ccc21faff33f9fdf7f8644bf42538 /drivers/staging/greybus/control.h
parentcc28c2c2283d5e1b8d2fc0a1cf2bc45783fc7f71 (diff)
downloadlinux-707a5c42ce55938de599e4461384efafd6950c37.tar.bz2
greybus: control: add connection suspend and resume calls
Adds function calls for handling control connection suspend and resume, for now all they do is disable and enable control connection. Signed-off-by: David Lin <dtwlin@google.com> Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'drivers/staging/greybus/control.h')
-rw-r--r--drivers/staging/greybus/control.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/greybus/control.h b/drivers/staging/greybus/control.h
index 86a4902604b6..f73ec3e297ba 100644
--- a/drivers/staging/greybus/control.h
+++ b/drivers/staging/greybus/control.h
@@ -29,6 +29,8 @@ struct gb_control {
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);
+int gb_control_suspend(struct gb_control *control);
+int gb_control_resume(struct gb_control *control);
int gb_control_add(struct gb_control *control);
void gb_control_del(struct gb_control *control);
struct gb_control *gb_control_get(struct gb_control *control);