diff --git a/drivers/staging/greybus/connection.c b/drivers/staging/greybus/connection.c index 3f786bf53798..191df5377bc3 100644 --- a/drivers/staging/greybus/connection.c +++ b/drivers/staging/greybus/connection.c @@ -243,6 +243,7 @@ void gb_connection_err(struct gb_connection *connection, const char *fmt, ...) va_end(args); } +EXPORT_SYMBOL_GPL(gb_connection_err); int gb_connection_init(struct gb_connection *connection) { diff --git a/drivers/staging/greybus/operation.c b/drivers/staging/greybus/operation.c index a057c83c90f8..087e0cc14a13 100644 --- a/drivers/staging/greybus/operation.c +++ b/drivers/staging/greybus/operation.c @@ -567,6 +567,7 @@ struct gb_operation *gb_operation_create(struct gb_connection *connection, return gb_operation_create_common(connection, type, request_size, response_size); } +EXPORT_SYMBOL_GPL(gb_operation_create); static struct gb_operation * gb_operation_create_incoming(struct gb_connection *connection, u16 id, @@ -623,6 +624,7 @@ void gb_operation_put(struct gb_operation *operation) if (!WARN_ON(!operation)) kref_put(&operation->kref, _gb_operation_destroy); } +EXPORT_SYMBOL_GPL(gb_operation_put); /* Tell the requester we're done */ static void gb_operation_sync_callback(struct gb_operation *operation) @@ -710,6 +712,7 @@ int gb_operation_request_send_sync(struct gb_operation *operation) return gb_operation_result(operation); } +EXPORT_SYMBOL_GPL(gb_operation_request_send_sync); /* * Send a response for an incoming operation request. A non-zero @@ -958,6 +961,7 @@ int gb_operation_sync(struct gb_connection *connection, int type, return ret; } +EXPORT_SYMBOL_GPL(gb_operation_sync); int gb_operation_init(void) { diff --git a/drivers/staging/greybus/protocol.c b/drivers/staging/greybus/protocol.c index 227c531fa903..7536a30e5b90 100644 --- a/drivers/staging/greybus/protocol.c +++ b/drivers/staging/greybus/protocol.c @@ -86,6 +86,7 @@ int gb_protocol_register(struct gb_protocol *protocol) return 0; } +EXPORT_SYMBOL_GPL(gb_protocol_register); /* * De-register a previously registered protocol. @@ -117,6 +118,7 @@ int gb_protocol_deregister(struct gb_protocol *protocol) return protocol && !protocol_count; } +EXPORT_SYMBOL_GPL(gb_protocol_deregister); /* Returns the requested protocol if available, or a null pointer */ struct gb_protocol *gb_protocol_get(u8 id, u8 major, u8 minor)