Skip to content

Commit

Permalink
usb: dwc3: omap: fix sparse warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felipe Balbi committed Mar 18, 2013
1 parent eee44da commit a33bb21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/dwc3/dwc3-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit a33bb21

Please sign in to comment.