summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-03-14 18:00:58 +0400
committerFelipe Balbi <balbi@ti.com>2013-03-18 13:18:24 +0400
commita33bb2120851407b5703343596d5c2181cfc75b4 (patch)
treea935f534a3f8cec9187529f8d53d929383ec2560 /drivers/usb/dwc3
parenteee44da0453cfe9125f4297e4244fe1d6fb1c653 (diff)
downloadlinux-a33bb2120851407b5703343596d5c2181cfc75b4.tar.xz
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 <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r--drivers/usb/dwc3/dwc3-omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c
index 2fe9723ff1df..6de734f494bd 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)
{