diff --git a/components/drivers/ofw/fdt.c b/components/drivers/ofw/fdt.c index cfd6c32f23f..0c8b2ce3a44 100644 --- a/components/drivers/ofw/fdt.c +++ b/components/drivers/ofw/fdt.c @@ -23,7 +23,7 @@ #include "ofw_internal.h" -struct rt_fdt_earlycon fdt_earlycon rt_section(".bss.noclean.earlycon"); +struct rt_fdt_earlycon fdt_earlycon; RT_OFW_SYMBOL_TYPE_RANGE(earlycon, struct rt_fdt_earlycon_id, _earlycon_start = {}, _earlycon_end = {});