Skip to content

Commit

Permalink
usb/otg: fix twl6030 macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Greg Kroah-Hartman committed Apr 13, 2011
1 parent 3c624d4 commit 84f6c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/otg/twl6030-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)

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

Expand Down

0 comments on commit 84f6c3f

Please sign in to comment.