Skip to content

Commit

Permalink
of/fdt: fix sparse warning
Browse files Browse the repository at this point in the history
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: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
  • Loading branch information
Lad, Prabhakar authored and Rob Herring committed Feb 4, 2015
1 parent d5e7550 commit 523bf17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/of/fdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 523bf17

Please sign in to comment.