aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/prom.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2012-12-13 11:30:05 -0500
committerMichal Simek <michal.simek@xilinx.com>2012-12-13 12:15:34 -0500
commitc0d997fb4c4f202c55a4ed8ab9b714a81a16e5ac (patch)
tree4649096358afb44cebfd75ebb4e9df2a12c3eae5 /arch/microblaze/kernel/prom.c
parent05c0674107dee0bf2aed323796c443cb6de8e71a (diff)
microblaze: Add static qualifiers
Adding static to internal variables and functions. Sparse warnings: arch/microblaze/kernel/prom.c:55:6: warning: symbol 'stdout' was not declared. Should it be static? arch/microblaze/kernel/prom.c:57:12: warning: symbol 'early_init_dt_scan_chosen_serial' was not declared. Should it be static? CC arch/microblaze/kernel/prom.o arch/microblaze/kernel/intc.c:102:5: warning: symbol 'xintc_map' was not declared. Should it be static? CC arch/microblaze/kernel/intc.o Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/kernel/prom.c')
-rw-r--r--arch/microblaze/kernel/prom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c
index 4a764ccb9f26..a744e3f18883 100644
--- a/arch/microblaze/kernel/prom.c
+++ b/arch/microblaze/kernel/prom.c
@@ -52,9 +52,9 @@ void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align)
52} 52}
53 53
54#ifdef CONFIG_EARLY_PRINTK 54#ifdef CONFIG_EARLY_PRINTK
55char *stdout; 55static char *stdout;
56 56
57int __init early_init_dt_scan_chosen_serial(unsigned long node, 57static int __init early_init_dt_scan_chosen_serial(unsigned long node,
58 const char *uname, int depth, void *data) 58 const char *uname, int depth, void *data)
59{ 59{
60 unsigned long l; 60 unsigned long l;