Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f5cd9f14e2660e610d8bb99ce723ef098b65ae9c
Commit:     f5cd9f14e2660e610d8bb99ce723ef098b65ae9c
Parent:     c8925297e875168a7c08965b4f80b418524fb8ce
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Thu Nov 1 12:22:53 2007 +0000
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Fri Nov 2 16:13:47 2007 +0000

    [MIPS] Pb1200: Fix warning.
    
    arch/mips/au1000/pb1200/board_setup.c:71: warning: unused variable 
'pin_func'
    
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 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 5dbc986..b98bebf 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)
 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.
         */
@@ -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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to