Explorar el Código

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: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Hema HK <hemahk@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Randy Dunlap hace 14 años
padre
commit
84f6c3fb7e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/usb/otg/twl6030-usb.c

+ 1 - 1
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)
 
 /*-------------------------------------------------------------------------*/