This file contains data and code only used at initialization. Mark the
file as such in the build system and correct kind_guess.
Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
subdir-$(CONFIG_ACPI) += acpi
obj-$(CONFIG_HAS_ALTERNATIVE) += alternative.o
-obj-y += bootfdt.o
+obj-y += bootfdt.init.o
obj-y += cpu.o
obj-y += cpuerrata.o
obj-y += cpufeature.o
const char *name,
u32 address_cells, u32 size_cells)
{
- static int kind_guess = 0;
+ static int __initdata kind_guess = 0;
const struct fdt_property *prop;
const __be32 *cell;
bootmodule_kind kind;