From: Felipe Balbi Date: Fri, 22 Mar 2013 15:03:32 +0000 (+0200) Subject: usb: musb: ux500_dma: fix sparse warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6b0cfc656f8a649fbfbe11e76e0aa301ee26879e;p=openwrt%2Fstaging%2Fblogic.git usb: musb: ux500_dma: fix sparse warning fix the following sparse warning: drivers/usb/musb/ux500_dma.c:60:6: warning: symbol 'ux500_dma_callback' was not declared. Should it be static? Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/musb/ux500_dma.c b/drivers/usb/musb/ux500_dma.c index 2df9b7d1ddc6..f417b7e49bb5 100644 --- a/drivers/usb/musb/ux500_dma.c +++ b/drivers/usb/musb/ux500_dma.c @@ -57,7 +57,7 @@ struct ux500_dma_controller { }; /* Work function invoked from DMA callback to handle rx transfers. */ -void ux500_dma_callback(void *private_data) +static void ux500_dma_callback(void *private_data) { struct dma_channel *channel = private_data; struct ux500_dma_channel *ux500_channel = channel->private_data;