Commit bfe6815e authored by Ben Dooks's avatar Ben Dooks Committed by Russell King
Browse files

[ARM] 2925/3: earlyparam - postfix section with .init for `make buildcheck`

Patch from Ben Dooks

The `make buildcheck` is erroneously reporting that the earlyparam
list is referencing items in the .init section as it is not itself
postfixed with .init
Also, as per rmk's suggestion, rename the __early_param to
.early_param to bring it into line with everything else
Signed-off-by: default avatarBen Dooks <>
Signed-off-by: default avatarRussell King <>
parent 58dd48a6
......@@ -36,7 +36,7 @@ SECTIONS
__setup_end = .;
__early_begin = .;
__early_end = .;
__initcall_start = .;
......@@ -213,6 +213,6 @@ struct early_params {
#define __early_param(name,fn) \
static struct early_params __early_##fn __attribute_used__ \
__attribute__((__section__("__early_param"))) = { name, fn }
__attribute__((__section__(".early_param.init"))) = { name, fn }
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