From: Felipe Balbi Date: Thu, 14 Mar 2013 14:00:58 +0000 (+0200) Subject: usb: dwc3: omap: fix sparse warning X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=a33bb2120851407b5703343596d5c2181cfc75b4;p=~shefty%2Frdma-dev.git usb: dwc3: omap: fix sparse warning our global '_omap' pointer wasn't marked static. This patch solves the following sparse warning: warning: symbol '_omap' was not declared. \ Should it be static? Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index 2fe9723ff1d..6de734f494b 100644 --- a/drivers/usb/dwc3/dwc3-omap.c +++ b/drivers/usb/dwc3/dwc3-omap.c @@ -126,7 +126,7 @@ struct dwc3_omap { u32 dma_status:1; }; -struct dwc3_omap *_omap; +static struct dwc3_omap *_omap; static inline u32 dwc3_omap_readl(void __iomem *base, u32 offset) {