diff mbox series

fdt_support: add static to fdt_node_set_part_info()

Message ID 20200715103547.17728-1-yamada.masahiro@socionext.com
State Accepted
Commit 8ce8e42e864da5bc5a031a916f6a6ca49e44b268
Delegated to: Simon Glass
Headers show
Series fdt_support: add static to fdt_node_set_part_info() | expand

Commit Message

Masahiro Yamada July 15, 2020, 10:35 a.m. UTC
This function is only called from fdt_fixup_mtdpart() in the same file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 common/fdt_support.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Simon Glass July 16, 2020, 3:43 p.m. UTC | #1
On Wed, 15 Jul 2020 at 04:36, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>
> This function is only called from fdt_fixup_mtdpart() in the same file.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
>  common/fdt_support.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/common/fdt_support.c b/common/fdt_support.c
index 3778de536866..b010d0b552ad 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -816,8 +816,8 @@  static int fdt_del_partitions(void *blob, int parent_offset)
 	return 0;
 }
 
-int fdt_node_set_part_info(void *blob, int parent_offset,
-			   struct mtd_device *dev)
+static int fdt_node_set_part_info(void *blob, int parent_offset,
+				  struct mtd_device *dev)
 {
 	struct list_head *pentry;
 	struct part_info *part;