Commit bfafc871 authored by Richard Henderson's avatar Richard Henderson Committed by Linus Torvalds

[PATCH] Trivial patch for param.h: make it const.

Add a const declaration to the __module_param_call so __param section
gets more correct attributes.
parent 35bc6f3f
......@@ -39,7 +39,7 @@ struct kparam_string {
writable. */
#define __module_param_call(prefix, name, set, get, arg, perm) \
static char __param_str_##name[] __initdata = prefix #name; \
static struct kernel_param __param_##name \
static struct kernel_param const __param_##name \
__attribute__ ((unused,__section__ ("__param"))) \
= { __param_str_##name, perm, set, get, arg }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment