Commit cd53bd68 authored by Ben Dooks's avatar Ben Dooks Committed by Greg Kroah-Hartman

usb: musb: sunxi: make unexported symbols static

The sunxi_musb_dma_controller_create and _destroy are not exported
or used outside the driver, so fix sparse warnings by making these
two static:

drivers/usb/musb/sunxi.c:357:23: warning: symbol 'sunxi_musb_dma_controller_create' was not declared. Should it be static?
drivers/usb/musb/sunxi.c:363:6: warning: symbol 'sunxi_musb_dma_controller_destroy' was not declared. Should it be static?
Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarBin Liu <b-liu@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8ccb49dd
...@@ -354,13 +354,13 @@ static void sunxi_musb_disable(struct musb *musb) ...@@ -354,13 +354,13 @@ static void sunxi_musb_disable(struct musb *musb)
clear_bit(SUNXI_MUSB_FL_ENABLED, &glue->flags); clear_bit(SUNXI_MUSB_FL_ENABLED, &glue->flags);
} }
struct dma_controller *sunxi_musb_dma_controller_create(struct musb *musb, static struct dma_controller *
void __iomem *base) sunxi_musb_dma_controller_create(struct musb *musb, void __iomem *base)
{ {
return NULL; return NULL;
} }
void sunxi_musb_dma_controller_destroy(struct dma_controller *c) static void sunxi_musb_dma_controller_destroy(struct dma_controller *c)
{ {
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment