提交 84f6c3fb 编写于 作者: R Randy Dunlap 提交者: Greg Kroah-Hartman

usb/otg: fix twl6030 macro

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: NRandy Dunlap <randy.dunlap@oracle.com>
Cc: Hema HK <hemahk@ti.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 3c624d49
...@@ -101,7 +101,7 @@ struct twl6030_usb { ...@@ -101,7 +101,7 @@ struct twl6030_usb {
bool irq_enabled; 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)
/*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册