summaryrefslogtreecommitdiff
path: root/kernel/trace/rv/monitors/wwnr/wwnr.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/rv/monitors/wwnr/wwnr.c')
-rw-r--r--kernel/trace/rv/monitors/wwnr/wwnr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/trace/rv/monitors/wwnr/wwnr.c b/kernel/trace/rv/monitors/wwnr/wwnr.c
index 0e43dd2db685..4145bea2729e 100644
--- a/kernel/trace/rv/monitors/wwnr/wwnr.c
+++ b/kernel/trace/rv/monitors/wwnr/wwnr.c
@@ -10,7 +10,7 @@
#define MODULE_NAME "wwnr"
-#include <trace/events/rv.h>
+#include <rv_trace.h>
#include <trace/events/sched.h>
#include "wwnr.h"
@@ -70,8 +70,7 @@ static struct rv_monitor rv_wwnr = {
static int __init register_wwnr(void)
{
- rv_register_monitor(&rv_wwnr);
- return 0;
+ return rv_register_monitor(&rv_wwnr, NULL);
}
static void __exit unregister_wwnr(void)