summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/operation.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-04-07 11:27:16 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2015-04-07 17:31:05 +0200
commit7cf7bca9ec5659efa9520ffc5a3ff4ef59383560 (patch)
tree279bff4957316559834b58c387daf8aba4f82368 /drivers/staging/greybus/operation.h
parentac67acd3040affb7a7baa0cc626a3757758ed8a7 (diff)
greybus: pass messages to host drivers
Pass structured greybus messages rather than buffers to the host drivers. This will allow us to separate the transfer buffers from the message structures. Rename the related functions to reflect the new interface. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/operation.h')
-rw-r--r--drivers/staging/greybus/operation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/operation.h b/drivers/staging/greybus/operation.h
index 5ed1f6e3e97e..cbd347c6b427 100644
--- a/drivers/staging/greybus/operation.h
+++ b/drivers/staging/greybus/operation.h
@@ -147,8 +147,8 @@ int gb_operation_response_send(struct gb_operation *operation, int errno);
void gb_operation_cancel(struct gb_operation *operation, int errno);
-void greybus_data_sent(struct greybus_host_device *hd,
- void *header, int status);
+void greybus_message_sent(struct greybus_host_device *hd,
+ struct gb_message *message, int status);
int gb_operation_sync(struct gb_connection *connection, int type,
void *request, int request_size,