diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-10-18 16:04:09 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 12:52:56 +0100 |
commit | 32fc0adeb89c7e1e592bf31b7158ddc154298207 (patch) | |
tree | 737385d4751364194c416ea03021e4b86cd680eb /arch/mips/alchemy/devboards/db1x00 | |
parent | 66a1d9baf4962defb3fc41439e3a22e752182f9f (diff) | |
download | kernel_samsung_espresso10-32fc0adeb89c7e1e592bf31b7158ddc154298207.zip kernel_samsung_espresso10-32fc0adeb89c7e1e592bf31b7158ddc154298207.tar.gz kernel_samsung_espresso10-32fc0adeb89c7e1e592bf31b7158ddc154298207.tar.bz2 |
MIPS: Alchemy: Fix warnings in DB1x00 / PB1000 / PB1550 board setup code
This patch fixes warnings due to potentially unused
variables in board setup code or mixed variables
declaration and code (forbidden by ISO C90).
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/alchemy/devboards/db1x00')
-rw-r--r-- | arch/mips/alchemy/devboards/db1x00/board_setup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/alchemy/devboards/db1x00/board_setup.c b/arch/mips/alchemy/devboards/db1x00/board_setup.c index 64eb26f..7aee14d7 100644 --- a/arch/mips/alchemy/devboards/db1x00/board_setup.c +++ b/arch/mips/alchemy/devboards/db1x00/board_setup.c @@ -85,12 +85,14 @@ void board_reset(void) void __init board_setup(void) { unsigned long bcsr1, bcsr2; - u32 pin_func = 0; + u32 pin_func; char *argptr; bcsr1 = DB1000_BCSR_PHYS_ADDR; bcsr2 = DB1000_BCSR_PHYS_ADDR + DB1000_BCSR_HEXLED_OFS; + pin_func = 0; + #ifdef CONFIG_MIPS_DB1000 printk(KERN_INFO "AMD Alchemy Au1000/Db1000 Board\n"); #endif |