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: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
diff --git a/drivers/staging/greybus/operation.c b/drivers/staging/greybus/operation.c
index 5117f0b..5447351 100644
--- a/drivers/staging/greybus/operation.c
+++ b/drivers/staging/greybus/operation.c
@@ -147,6 +147,7 @@
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 @@
return true;
}
+EXPORT_SYMBOL_GPL(gb_operation_response_alloc);
/*
* Create a Greybus operation to be sent over the given connection.
@@ -589,6 +591,7 @@
{
kref_get(&operation->kref);
}
+EXPORT_SYMBOL_GPL(gb_operation_get);
/*
* Destroy a previously created operation.
@@ -677,6 +680,7 @@
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 @@
}
gb_operation_put(operation);
}
+EXPORT_SYMBOL_GPL(gb_operation_cancel);
/**
* gb_operation_sync: implement a "simple" synchronous gb operation.