diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-06-09 16:34:40 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-06-09 17:28:02 -0700 |
commit | 56278c7384a3c0242fe2f7ba91473c978ab500ae (patch) | |
tree | 3b29c83e6e155d94a30f1cece9ce3bac24bfea3e | |
parent | c05d471b2d6f4b9775674a3ada32a08079b1d24b (diff) | |
download | op-kernel-dev-56278c7384a3c0242fe2f7ba91473c978ab500ae.zip op-kernel-dev-56278c7384a3c0242fe2f7ba91473c978ab500ae.tar.gz |
greybus: hd: Export host device tracepoint from hd.c
There is no point keeping this code in core.c, while its only used by
hd.c. Relocate it.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
-rw-r--r-- | drivers/staging/greybus/core.c | 5 | ||||
-rw-r--r-- | drivers/staging/greybus/hd.c | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index a3837b2..dacc49c 100644 --- a/drivers/staging/greybus/core.c +++ b/drivers/staging/greybus/core.c @@ -13,11 +13,6 @@ #include "greybus.h" #include "greybus_trace.h" -EXPORT_TRACEPOINT_SYMBOL_GPL(gb_hd_create); -EXPORT_TRACEPOINT_SYMBOL_GPL(gb_hd_release); -EXPORT_TRACEPOINT_SYMBOL_GPL(gb_hd_add); -EXPORT_TRACEPOINT_SYMBOL_GPL(gb_hd_del); - /* Allow greybus to be disabled at boot if needed */ static bool nogreybus; #ifdef MODULE diff --git a/drivers/staging/greybus/hd.c b/drivers/staging/greybus/hd.c index 6d952ba..8ef849a 100644 --- a/drivers/staging/greybus/hd.c +++ b/drivers/staging/greybus/hd.c @@ -13,8 +13,12 @@ #include "greybus.h" #include "greybus_trace.h" -EXPORT_TRACEPOINT_SYMBOL_GPL(gb_message_submit); +EXPORT_TRACEPOINT_SYMBOL_GPL(gb_hd_create); +EXPORT_TRACEPOINT_SYMBOL_GPL(gb_hd_release); +EXPORT_TRACEPOINT_SYMBOL_GPL(gb_hd_add); +EXPORT_TRACEPOINT_SYMBOL_GPL(gb_hd_del); EXPORT_TRACEPOINT_SYMBOL_GPL(gb_hd_in); +EXPORT_TRACEPOINT_SYMBOL_GPL(gb_message_submit); static struct ida gb_hd_bus_id_map; |