Commit 1dad6b35 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

greybus: operation: fix missing symbol exports

Add missing EXPORT_SYMBOL_GPL for gb_operation_response_alloc,
gb_operation_result, gb_operation_get, gb_operation_request_send and
gb_operation_cancel, which are all supposed to be accessible from
protocol handlers.
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent e2cb6cac
...@@ -147,6 +147,7 @@ int gb_operation_result(struct gb_operation *operation) ...@@ -147,6 +147,7 @@ int gb_operation_result(struct gb_operation *operation)
return result; return result;
} }
EXPORT_SYMBOL_GPL(gb_operation_result);
static struct gb_operation * static struct gb_operation *
gb_operation_find(struct gb_connection *connection, u16 operation_id) gb_operation_find(struct gb_connection *connection, u16 operation_id)
...@@ -463,6 +464,7 @@ bool gb_operation_response_alloc(struct gb_operation *operation, ...@@ -463,6 +464,7 @@ bool gb_operation_response_alloc(struct gb_operation *operation,
return true; return true;
} }
EXPORT_SYMBOL_GPL(gb_operation_response_alloc);
/* /*
* Create a Greybus operation to be sent over the given connection. * Create a Greybus operation to be sent over the given connection.
...@@ -589,6 +591,7 @@ void gb_operation_get(struct gb_operation *operation) ...@@ -589,6 +591,7 @@ void gb_operation_get(struct gb_operation *operation)
{ {
kref_get(&operation->kref); kref_get(&operation->kref);
} }
EXPORT_SYMBOL_GPL(gb_operation_get);
/* /*
* Destroy a previously created operation. * Destroy a previously created operation.
...@@ -677,6 +680,7 @@ int gb_operation_request_send(struct gb_operation *operation, ...@@ -677,6 +680,7 @@ int gb_operation_request_send(struct gb_operation *operation,
return gb_message_send(operation->request); return gb_message_send(operation->request);
} }
EXPORT_SYMBOL_GPL(gb_operation_request_send);
/* /*
* Send a synchronous operation. This function is expected to * Send a synchronous operation. This function is expected to
...@@ -901,6 +905,7 @@ void gb_operation_cancel(struct gb_operation *operation, int errno) ...@@ -901,6 +905,7 @@ void gb_operation_cancel(struct gb_operation *operation, int errno)
} }
gb_operation_put(operation); gb_operation_put(operation);
} }
EXPORT_SYMBOL_GPL(gb_operation_cancel);
/** /**
* gb_operation_sync: implement a "simple" synchronous gb operation. * gb_operation_sync: implement a "simple" synchronous gb operation.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment