summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-03-22 17:03:32 +0200
committerFelipe Balbi <balbi@ti.com>2013-03-27 13:19:00 +0200
commit6b0cfc656f8a649fbfbe11e76e0aa301ee26879e (patch)
tree3153bf5d7fda7f84d56cc7a2a2906dcc2fcd2bc5 /drivers
parent6fbb2f7daeeeb0865fc9b7799607f4cb5481a96e (diff)
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 <balbi@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/musb/ux500_dma.c2
1 files changed, 1 insertions, 1 deletions
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;