page_reporting_param_ops is only used in page_reporting.c now, change it to static. Fixes: 443063e483e3 ("mm/page_reporting: Add checks for page_reporting_order param") Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx> --- mm/page_reporting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page_reporting.c b/mm/page_reporting.c index 29d67c824fd2..6a8cb3b1ae1b 100644 --- a/mm/page_reporting.c +++ b/mm/page_reporting.c @@ -23,7 +23,7 @@ int page_order_update_notify(const char *val, const struct kernel_param *kp) return param_set_uint_minmax(val, kp, 0, MAX_ORDER-1); } -const struct kernel_param_ops page_reporting_param_ops = { +static const struct kernel_param_ops page_reporting_param_ops = { .set = &page_order_update_notify, /* * For the get op, use param_get_int instead of param_get_uint. -- 2.25.1