diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-02-04 07:04:06 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2015-02-04 11:43:15 -0500 |
commit | 523bf17f1c7c3171e03dbd31402dfa263e63d178 (patch) | |
tree | c4e604c89176f5b2a10dceab652e141bac94e15f /drivers/of/fdt.c | |
parent | d5e75500ca401d3128c82c5b0dee2f9b259d5b5c (diff) |
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: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/fdt.c')
-rw-r--r-- | drivers/of/fdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 510074226d57..3a896c9aeb74 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c | |||
@@ -762,7 +762,7 @@ static inline void early_init_dt_check_for_initrd(unsigned long node) | |||
762 | #ifdef CONFIG_SERIAL_EARLYCON | 762 | #ifdef CONFIG_SERIAL_EARLYCON |
763 | extern struct of_device_id __earlycon_of_table[]; | 763 | extern struct of_device_id __earlycon_of_table[]; |
764 | 764 | ||
765 | int __init early_init_dt_scan_chosen_serial(void) | 765 | static int __init early_init_dt_scan_chosen_serial(void) |
766 | { | 766 | { |
767 | int offset; | 767 | int offset; |
768 | const char *p; | 768 | const char *p; |