[PATCH -next] usb/otg: fix twl6030 macro

From: Randy Dunlap
Date: Fri Apr 08 2011 - 13:12:01 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix warning caused by stray semi-colon at end of macro:

drivers/usb/otg/twl6030-usb.c:183: warning: ISO C90 forbids mixed declarations and code

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Cc: Hema HK <hemahk@xxxxxx>
---
drivers/usb/otg/twl6030-usb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20110408.orig/drivers/usb/otg/twl6030-usb.c
+++ linux-next-20110408/drivers/usb/otg/twl6030-usb.c
@@ -101,7 +101,7 @@ struct twl6030_usb {
bool irq_enabled;
};

-#define xceiv_to_twl(x) container_of((x), struct twl6030_usb, otg);
+#define xceiv_to_twl(x) container_of((x), struct twl6030_usb, otg)

/*-------------------------------------------------------------------------*/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/