diff --git a/mm/page_poison.c b/mm/page_poison.c
index e83fd44867deff2bdcdf953329445441eff40f5f..aa2b3d34e8eaa26018267314fe88568b382dbebc 100644
--- a/mm/page_poison.c
+++ b/mm/page_poison.c
@@ -9,7 +9,7 @@
 
 static bool want_page_poisoning __read_mostly;
 
-static int early_page_poison_param(char *buf)
+static int __init early_page_poison_param(char *buf)
 {
 	if (!buf)
 		return -EINVAL;