浏览代码

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>
Felipe Balbi 12 年之前
父节点
当前提交
a33bb21208
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/usb/dwc3/dwc3-omap.c

+ 1 - 1
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)
 {