projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eee44da
)
usb: dwc3: omap: fix sparse warning
author
Felipe Balbi
<balbi@ti.com>
Thu, 14 Mar 2013 14:00:58 +0000
(16:00 +0200)
committer
Felipe 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
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/dwc3-omap.c
b/drivers/usb/dwc3/dwc3-omap.c
index
2fe9723
..
6de734f
100644
(file)
--- 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;
};
-st
ruct dwc3_omap
*_omap;
+st
atic struct dwc3_omap
*_omap;
static inline u32 dwc3_omap_readl(void __iomem *base, u32 offset)
{