summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/operation.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2015-06-09 17:42:51 -0500
committerGreg Kroah-Hartman <gregkh@google.com>2015-06-10 10:38:23 -0700
commitf35ab903ef6dad781a3de25ab37850499d2a39d4 (patch)
tree76a39a932f61865a965a43618ef0a793dbe6befd /drivers/staging/greybus/operation.h
parent47ed2c92406f94ac0f122ebf0e05fc63d3f0c02a (diff)
downloadop-kernel-dev-f35ab903ef6dad781a3de25ab37850499d2a39d4.zip
op-kernel-dev-f35ab903ef6dad781a3de25ab37850499d2a39d4.tar.gz
greybus: endo: define endo_init() and endo_exit()
Define init and exit functions to do one-time setup and teardown of endo-related functionality. Currently they're place holders; the next patch will populate them. Note that we now call gb_operation_exit() from gb_init(), so we can no longer mark that function with __exit. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/operation.h')
-rw-r--r--drivers/staging/greybus/operation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/operation.h b/drivers/staging/greybus/operation.h
index fcd6566..6eed6bc 100644
--- a/drivers/staging/greybus/operation.h
+++ b/drivers/staging/greybus/operation.h
@@ -159,6 +159,6 @@ int gb_operation_sync(struct gb_connection *connection, int type,
void *response, int response_size);
int gb_operation_init(void) __init;
-void gb_operation_exit(void) __exit;
+void gb_operation_exit(void);
#endif /* !__OPERATION_H */
OpenPOWER on IntegriCloud