public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c: twl4030: warning: mixed declarations and code
@ 2008-06-11 11:55 Felipe Balbi
  2008-06-11 13:53 ` Eduardo Valentin
  0 siblings, 1 reply; 5+ messages in thread
From: Felipe Balbi @ 2008-06-11 11:55 UTC (permalink / raw)
  To: linux-omap; +Cc: Felipe Balbi

Latest patches for multi-omap support introduced
it, removing.

Trivial patch.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
---
 drivers/i2c/chips/twl4030-usb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/i2c/chips/twl4030-usb.c b/drivers/i2c/chips/twl4030-usb.c
index 7f93b4f..f546d42 100644
--- a/drivers/i2c/chips/twl4030-usb.c
+++ b/drivers/i2c/chips/twl4030-usb.c
@@ -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;
-- 
1.5.6.rc1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-23 12:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-11 11:55 [PATCH] i2c: twl4030: warning: mixed declarations and code Felipe Balbi
2008-06-11 13:53 ` Eduardo Valentin
2008-06-11 13:55   ` Felipe Balbi
2008-06-11 14:02     ` Eduardo Valentin
2008-06-23 13:00       ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox