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 2a39c11..1a42a45 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;