summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/svc.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@google.com>2016-01-19 23:30:42 -0800
committerGreg Kroah-Hartman <gregkh@google.com>2016-01-21 22:35:31 -0800
commit55ec09e898adb43cf69ebd8839e3d5656a0e7345 (patch)
tree1ff739257f566e1b71b8f4e7edd3786c30b83d3f /drivers/staging/greybus/svc.h
parenteb8fafdfb9fce95b7d4f4bc9d34a46863176d7f8 (diff)
greybus: svc: add ping command
This implements the SVC "ping" command. It's tiny and simple, but we need something like this in order for us to "know" if all is working well. Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/svc.h')
-rw-r--r--drivers/staging/greybus/svc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/svc.h b/drivers/staging/greybus/svc.h
index f079b4dcc6e6..f3e8479b9438 100644
--- a/drivers/staging/greybus/svc.h
+++ b/drivers/staging/greybus/svc.h
@@ -55,6 +55,7 @@ int gb_svc_intf_set_power_mode(struct gb_svc *svc, u8 intf_id, u8 hs_series,
u8 tx_mode, u8 tx_gear, u8 tx_nlanes,
u8 rx_mode, u8 rx_gear, u8 rx_nlanes,
u8 flags, u32 quirks);
+int gb_svc_ping(struct gb_svc *svc);
int gb_svc_protocol_init(void);
void gb_svc_protocol_exit(void);