diff options
Diffstat (limited to 'include/linux/init.h')
-rw-r--r-- | include/linux/init.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/init.h b/include/linux/init.h index 0e06c176f185..9f70c9f25d4b 100644 --- a/include/linux/init.h +++ b/include/linux/init.h | |||
@@ -225,7 +225,8 @@ struct obs_kernel_param { | |||
225 | * obs_kernel_param "array" too far apart in .init.setup. | 225 | * obs_kernel_param "array" too far apart in .init.setup. |
226 | */ | 226 | */ |
227 | #define __setup_param(str, unique_id, fn, early) \ | 227 | #define __setup_param(str, unique_id, fn, early) \ |
228 | static char __setup_str_##unique_id[] __initdata __aligned(1) = str; \ | 228 | static const char __setup_str_##unique_id[] __initconst \ |
229 | __aligned(1) = str; \ | ||
229 | static struct obs_kernel_param __setup_##unique_id \ | 230 | static struct obs_kernel_param __setup_##unique_id \ |
230 | __used __section(.init.setup) \ | 231 | __used __section(.init.setup) \ |
231 | __attribute__((aligned((sizeof(long))))) \ | 232 | __attribute__((aligned((sizeof(long))))) \ |