diff options
author | Michal Simek <michal.simek@xilinx.com> | 2012-12-13 16:30:05 (GMT) |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2012-12-13 17:15:34 (GMT) |
commit | c0d997fb4c4f202c55a4ed8ab9b714a81a16e5ac (patch) | |
tree | 4649096358afb44cebfd75ebb4e9df2a12c3eae5 /arch/microblaze/kernel/intc.c | |
parent | 05c0674107dee0bf2aed323796c443cb6de8e71a (diff) | |
download | linux-c0d997fb4c4f202c55a4ed8ab9b714a81a16e5ac.tar.xz |
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/intc.c')
-rw-r--r-- | arch/microblaze/kernel/intc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/intc.c b/arch/microblaze/kernel/intc.c index 7b4c644..7a1a8d4 100644 --- a/arch/microblaze/kernel/intc.c +++ b/arch/microblaze/kernel/intc.c @@ -99,7 +99,7 @@ unsigned int get_irq(void) return irq; } -int xintc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) +static int xintc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) { u32 intr_mask = (u32)d->host_data; |