]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
usb: dwc3: omap: fix sparse warning
authorFelipe Balbi <balbi@ti.com>
Thu, 14 Mar 2013 14:00:58 +0000 (16:00 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:18:24 +0000 (11:18 +0200)
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 <balbi@ti.com>
drivers/usb/dwc3/dwc3-omap.c

index 2fe9723ff1dfeea8bb7720a0243d8f6c476e355b..6de734f494bd3ee7ad1b0bce95ee1d6ddf82cb14 100644 (file)
@@ -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)
 {