i2c: twl4030: warning: mixed declarations and code
authorFelipe Balbi <felipe.balbi@nokia.com>
Wed, 11 Jun 2008 11:55:23 +0000 (14:55 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 23 Jun 2008 12:59:32 +0000 (15:59 +0300)
Latest patches for multi-omap support introduced
it, removing.

Trivial patch.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/twl4030-usb.c

index 56db3e7..ab335ca 100644 (file)
@@ -625,8 +625,8 @@ static int twl4030_set_suspend(struct otg_transceiver *x, int suspend)
 static int twl4030_set_peripheral(struct otg_transceiver *xceiv,
                struct usb_gadget *gadget)
 {
-       struct twl4030_usb *twl = xceiv_to_twl(xceiv);
        u32 l;
+       struct twl4030_usb *twl = xceiv_to_twl(xceiv);
 
        if (!xceiv)
                return -ENODEV;