usb/otg: fix twl6030 macro
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 8 Apr 2011 17:11:44 +0000 (10:11 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Apr 2011 23:41:00 +0000 (16:41 -0700)
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@oracle.com>
Cc: Hema HK <hemahk@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/otg/twl6030-usb.c

index 8a91b4b832a1472148427313f9ad48fadd69bf47..6e920de64ef64dc46f7d36466c31ddddf276aa76 100644 (file)
@@ -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)
 
 /*-------------------------------------------------------------------------*/