usb: musb: omap2430: fix sparse warning
authorAaro Koskinen <aaro.koskinen@iki.fi>
Tue, 5 Mar 2013 11:04:24 +0000 (13:04 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 5 Mar 2013 11:28:32 +0000 (13:28 +0200)
Fix the following sparse warning:

drivers/usb/musb/omap2430.c:54:33: warning: symbol '_glue' was not \
declared. Should it be static?

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/omap2430.c

index 2a39c110d3d592a62f9b5a0428a11c2692a703ab..1a42a458f2c4ff64cb8e9e3492bf368cf79cf0c3 100644 (file)
@@ -51,7 +51,7 @@ struct omap2430_glue {
 };
 #define glue_to_musb(g)                platform_get_drvdata(g->musb)
 
-struct omap2430_glue           *_glue;
+static struct omap2430_glue    *_glue;
 
 static struct timer_list musb_idle_timer;