Skip to content

Commit

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

0 comments on commit 6b0cfc6

Please sign in to comment.