summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/kindle3
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-03-15 07:57:15 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-18 10:10:40 +0100
commit27166fb0b1eaa538555fe1306b5ca8922520584f (patch)
tree5e02d175ea86ed2116d886be447663fc3a9e6720 /arch/arm/boards/kindle3
parenta194fa7518d8677a364492fd973af6b9ce0f0541 (diff)
downloadbarebox-27166fb0b1eaa538555fe1306b5ca8922520584f.tar.gz
barebox-27166fb0b1eaa538555fe1306b5ca8922520584f.tar.xz
treewide: Make locally used functions static
Many functions are only used locally but still are globally visible. Make these function static. Avoids warnings generated with -Wmissing-prototypes Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/kindle3')
-rw-r--r--arch/arm/boards/kindle3/kindle3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/kindle3/kindle3.c b/arch/arm/boards/kindle3/kindle3.c
index e06b3d70ce..5f1b06aeb2 100644
--- a/arch/arm/boards/kindle3/kindle3.c
+++ b/arch/arm/boards/kindle3/kindle3.c
@@ -86,7 +86,7 @@ BAREBOX_MAGICVAR_NAMED(global_atags_revision16, global.board.revision16,
/* The Kindle3 Kernel expects two custom ATAGs, ATAG_REVISION16 describing
* the board and ATAG_SERIAL16 to identify the individual device.
*/
-struct tag *kindle3_append_atags(struct tag *params)
+static struct tag *kindle3_append_atags(struct tag *params)
{
params = setup_16char_tag(params, ATAG_SERIAL16,
get_env_16char_tag("global.board.serial16"));