Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 523bf17f authored by Lad, Prabhakar's avatar Lad, Prabhakar Committed by Rob Herring
Browse files

of/fdt: fix sparse warning



this patch fixes following sparse warning:

fdt.c:765:12: warning: symbol 'early_init_dt_scan_chosen_serial' was not declared. Should it be static?

Signed-off-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent d5e75500
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -762,7 +762,7 @@ static inline void early_init_dt_check_for_initrd(unsigned long node)
#ifdef CONFIG_SERIAL_EARLYCON
extern struct of_device_id __earlycon_of_table[];

int __init early_init_dt_scan_chosen_serial(void)
static int __init early_init_dt_scan_chosen_serial(void)
{
	int offset;
	const char *p;