greybus: operation: fix missing symbol exports
authorJohan Hovold <johan@hovoldconsulting.com>
Fri, 27 Mar 2015 11:41:10 +0000 (12:41 +0100)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 30 Mar 2015 13:10:06 +0000 (15:10 +0200)
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: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/operation.c

index 5117f0b..5447351 100644 (file)
@@ -147,6 +147,7 @@ int gb_operation_result(struct gb_operation *operation)
 
        return result;
 }
+EXPORT_SYMBOL_GPL(gb_operation_result);
 
 static struct gb_operation *
 gb_operation_find(struct gb_connection *connection, u16 operation_id)
@@ -463,6 +464,7 @@ bool gb_operation_response_alloc(struct gb_operation *operation,
 
        return true;
 }
+EXPORT_SYMBOL_GPL(gb_operation_response_alloc);
 
 /*
  * Create a Greybus operation to be sent over the given connection.
@@ -589,6 +591,7 @@ void gb_operation_get(struct gb_operation *operation)
 {
        kref_get(&operation->kref);
 }
+EXPORT_SYMBOL_GPL(gb_operation_get);
 
 /*
  * Destroy a previously created operation.
@@ -677,6 +680,7 @@ int gb_operation_request_send(struct gb_operation *operation,
 
        return gb_message_send(operation->request);
 }
+EXPORT_SYMBOL_GPL(gb_operation_request_send);
 
 /*
  * Send a synchronous operation.  This function is expected to
@@ -901,6 +905,7 @@ void gb_operation_cancel(struct gb_operation *operation, int errno)
        }
        gb_operation_put(operation);
 }
+EXPORT_SYMBOL_GPL(gb_operation_cancel);
 
 /**
  * gb_operation_sync: implement a "simple" synchronous gb operation.