Skip to content

Commit

Permalink
[MIPS] Pb1200: Fix warning.
Browse files Browse the repository at this point in the history
arch/mips/au1000/pb1200/board_setup.c:71: warning: unused variable 'pin_func'

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Nov 2, 2007
1 parent c892529 commit f5cd9f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/mips/au1000/pb1200/board_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ void board_reset(void)
void __init board_setup(void)
{
char *argptr = NULL;
u32 pin_func;

#if 0
{
u32 pin_func;

/* Enable PSC1 SYNC for AC97. Normaly done in audio driver,
* but it is board specific code, so put it here.
*/
Expand All @@ -81,11 +83,13 @@ void __init board_setup(void)

au_writel(0, (u32)bcsr|0x10); /* turn off pcmcia power */
au_sync();
}
#endif

#if defined(CONFIG_I2C_AU1550)
{
u32 freq0, clksrc;
u32 pin_func;

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

0 comments on commit f5cd9f1

Please sign in to comment.