Commit f2c4487d authored by Dirk Behme's avatar Dirk Behme Committed by Tony Lindgren

ARM: OMAP: Fix warning in tusb6010_omap.c

Fix warning

drivers/usb/musb/tusb6010_omap.c: In function 'tusb_omap_dma_cb':
drivers/usb/musb/tusb6010_omap.c:188: warning: format '%i' expects
type 'int', but argument 4 has type 'long unsigned int'
Signed-off-by: default avatarDirk Behme <dirk.behme@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 9df0e487
......@@ -185,7 +185,7 @@ static void tusb_omap_dma_cb(int lch, u16 ch_status, void *data)
if (pio > 0 && pio < 32) {
u8 *buf;
DBG(2, "Using PIO for remaining %i bytes\n", pio);
DBG(2, "Using PIO for remaining %lu bytes\n", pio);
buf = phys_to_virt((u32)chdat->dma_addr) + chdat->transfer_len;
if (chdat->tx) {
consistent_sync(phys_to_virt((u32)chdat->dma_addr),
......
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