提交 a33bb212 编写于 作者: F Felipe Balbi

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: NFelipe Balbi <balbi@ti.com>
上级 eee44da0
...@@ -126,7 +126,7 @@ struct dwc3_omap { ...@@ -126,7 +126,7 @@ struct dwc3_omap {
u32 dma_status:1; u32 dma_status:1;
}; };
struct dwc3_omap *_omap; static struct dwc3_omap *_omap;
static inline u32 dwc3_omap_readl(void __iomem *base, u32 offset) static inline u32 dwc3_omap_readl(void __iomem *base, u32 offset)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册