Skip to content

Commit f5cd9f1

Browse files
committed
[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>
1 parent c892529 commit f5cd9f1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎arch/mips/au1000/pb1200/board_setup.c‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,11 @@ void board_reset(void)
6868
void __init board_setup(void)
6969
{
7070
char *argptr = NULL;
71-
u32 pin_func;
7271

7372
#if 0
73+
{
74+
u32 pin_func;
75+
7476
/* Enable PSC1 SYNC for AC97. Normaly done in audio driver,
7577
* but it is board specific code, so put it here.
7678
*/
@@ -81,11 +83,13 @@ void __init board_setup(void)
8183

8284
au_writel(0, (u32)bcsr|0x10); /* turn off pcmcia power */
8385
au_sync();
86+
}
8487
#endif
8588

8689
#if defined(CONFIG_I2C_AU1550)
8790
{
8891
u32 freq0, clksrc;
92+
u32 pin_func;
8993

9094
/* Select SMBUS in CPLD */
9195
bcsr->resets &= ~(BCSR_RESETS_PCS0MUX);

0 commit comments

Comments
 (0)