]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix warning in tusb6010_omap.c
authorDirk Behme <dirk.behme@googlemail.com>
Sat, 5 May 2007 07:58:25 +0000 (09:58 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 8 May 2007 00:18:22 +0000 (17:18 -0700)
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: Dirk Behme <dirk.behme@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/tusb6010_omap.c

index 1ca6a3a1fa281ff1c108199a316788f7250daa40..ce5d9c580ebde8ca5e3c23585ed821c2fc958c1a 100644 (file)
@@ -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),