summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/operation.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/greybus/operation.c')
-rw-r--r--drivers/staging/greybus/operation.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/staging/greybus/operation.c b/drivers/staging/greybus/operation.c
index eee315c5861d..3392b425a6c2 100644
--- a/drivers/staging/greybus/operation.c
+++ b/drivers/staging/greybus/operation.c
@@ -29,6 +29,9 @@ static struct workqueue_struct *gb_operation_workqueue;
*/
static DEFINE_SPINLOCK(gb_operations_lock);
+static int gb_operation_response_send(struct gb_operation *operation,
+ int errno);
+
/*
* Set an operation's result.
*
@@ -649,7 +652,8 @@ EXPORT_SYMBOL_GPL(gb_operation_request_send_sync);
* it can simply supply the result errno; this function will
* allocate the response message if necessary.
*/
-int gb_operation_response_send(struct gb_operation *operation, int errno)
+static int gb_operation_response_send(struct gb_operation *operation,
+ int errno)
{
struct gb_connection *connection = operation->connection;
int ret;
@@ -685,7 +689,6 @@ int gb_operation_response_send(struct gb_operation *operation, int errno)
return ret;
}
-EXPORT_SYMBOL_GPL(gb_operation_response_send);
/*
* This function is called when a message send request has completed.