diff --git a/mm/page_owner.c b/mm/page_owner.c
index 7172e0a80e13e8e1cc6d0e55939b70ba71ac9129..75d21a2259b3b1ff9d2ac624fc9fbab10100580d 100644
--- a/mm/page_owner.c
+++ b/mm/page_owner.c
@@ -35,7 +35,7 @@ static depot_stack_handle_t early_handle;
 
 static void init_early_allocated_pages(void);
 
-static int early_page_owner_param(char *buf)
+static int __init early_page_owner_param(char *buf)
 {
 	if (!buf)
 		return -EINVAL;