projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/usb/dwc3/dwc3-omap.c
b/drivers/usb/dwc3/dwc3-omap.c
index 2fe9723ff1dfeea8bb7720a0243d8f6c476e355b..6de734f494bd3ee7ad1b0bce95ee1d6ddf82cb14 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)
{