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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/rv/monitors/wwnr/wwnr.c b/kernel/trace/rv/monitors/wwnr/wwnr.c
index a063b93c6a1d..0e43dd2db685 100644
--- a/kernel/trace/rv/monitors/wwnr/wwnr.c
+++ b/kernel/trace/rv/monitors/wwnr/wwnr.c
@@ -68,13 +68,13 @@ static struct rv_monitor rv_wwnr = {
.enabled = 0,
};
-static int register_wwnr(void)
+static int __init register_wwnr(void)
{
rv_register_monitor(&rv_wwnr);
return 0;
}
-static void unregister_wwnr(void)
+static void __exit unregister_wwnr(void)
{
rv_unregister_monitor(&rv_wwnr);
}