diff options
author | 2015-06-05 10:35:31 +0200 | |
---|---|---|
committer | 2015-06-08 09:57:08 +0200 | |
commit | 55ae2f3b88421256e0a785320f7067bc58c1b0cd (patch) | |
tree | e68b2eab1657a7771d218b06e4e8fc2ca143b9c2 /arch/microblaze/kernel/kgdb.c | |
parent | microblaze: Add missing release version code (diff) | |
download | linux-55ae2f3b88421256e0a785320f7067bc58c1b0cd.tar.gz linux-55ae2f3b88421256e0a785320f7067bc58c1b0cd.tar.bz2 linux-55ae2f3b88421256e0a785320f7067bc58c1b0cd.zip |
microblaze: Label local function static
Warnings found by sparse:
arch/microblaze/kernel/dma.c:157:5: warning: symbol
'dma_direct_mmap_coherent' was not declared. Should it be static?
arch/microblaze/kernel/kgdb.c:35:14: warning: symbol 'pvr' was not
declared. Should it be static?
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/kernel/kgdb.c')
-rw-r--r-- | arch/microblaze/kernel/kgdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/kgdb.c b/arch/microblaze/kernel/kgdb.c index 8736af5806ae..6366f69d118e 100644 --- a/arch/microblaze/kernel/kgdb.c +++ b/arch/microblaze/kernel/kgdb.c @@ -32,7 +32,7 @@ #define GDB_RTLBHI 56 /* keep pvr separately because it is unchangeble */ -struct pvr_s pvr; +static struct pvr_s pvr; void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) { |