diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-11-01 08:22:53 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-11-02 12:13:47 -0400 |
commit | f5cd9f14e2660e610d8bb99ce723ef098b65ae9c (patch) | |
tree | 0e2a4dda36b6d058c8dedfcba0cab96698a93e54 /arch | |
parent | c8925297e875168a7c08965b4f80b418524fb8ce (diff) |
[MIPS] Pb1200: Fix warning.
arch/mips/au1000/pb1200/board_setup.c:71: warning: unused variable 'pin_func'
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/au1000/pb1200/board_setup.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/mips/au1000/pb1200/board_setup.c b/arch/mips/au1000/pb1200/board_setup.c index 5dbc9868f598..b98bebfa87c6 100644 --- a/arch/mips/au1000/pb1200/board_setup.c +++ b/arch/mips/au1000/pb1200/board_setup.c | |||
@@ -68,9 +68,11 @@ void board_reset(void) | |||
68 | void __init board_setup(void) | 68 | void __init board_setup(void) |
69 | { | 69 | { |
70 | char *argptr = NULL; | 70 | char *argptr = NULL; |
71 | u32 pin_func; | ||
72 | 71 | ||
73 | #if 0 | 72 | #if 0 |
73 | { | ||
74 | u32 pin_func; | ||
75 | |||
74 | /* Enable PSC1 SYNC for AC97. Normaly done in audio driver, | 76 | /* Enable PSC1 SYNC for AC97. Normaly done in audio driver, |
75 | * but it is board specific code, so put it here. | 77 | * but it is board specific code, so put it here. |
76 | */ | 78 | */ |
@@ -81,11 +83,13 @@ void __init board_setup(void) | |||
81 | 83 | ||
82 | au_writel(0, (u32)bcsr|0x10); /* turn off pcmcia power */ | 84 | au_writel(0, (u32)bcsr|0x10); /* turn off pcmcia power */ |
83 | au_sync(); | 85 | au_sync(); |
86 | } | ||
84 | #endif | 87 | #endif |
85 | 88 | ||
86 | #if defined(CONFIG_I2C_AU1550) | 89 | #if defined(CONFIG_I2C_AU1550) |
87 | { | 90 | { |
88 | u32 freq0, clksrc; | 91 | u32 freq0, clksrc; |
92 | u32 pin_func; | ||
89 | 93 | ||
90 | /* Select SMBUS in CPLD */ | 94 | /* Select SMBUS in CPLD */ |
91 | bcsr->resets &= ~(BCSR_RESETS_PCS0MUX); | 95 | bcsr->resets &= ~(BCSR_RESETS_PCS0MUX); |