]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/plat-omap/dma.c
[ARM] omap: fix lots of 'Using plain integer as NULL pointer'
[linux-2.6-omap-h63xx.git] / arch / arm / plat-omap / dma.c
index b4057e2718759a16b45e75e4c3a389fdda863e44..50f8b4ad9a0942a0e818a746dff055d17b8be139 100644 (file)
@@ -1233,7 +1233,7 @@ int omap_request_dma_chain(int dev_id, const char *dev_name,
        /* request and reserve DMA channels for the chain */
        for (i = 0; i < no_of_chans; i++) {
                err = omap_request_dma(dev_id, dev_name,
-                                       callback, 0, &channels[i]);
+                                       callback, NULL, &channels[i]);
                if (err < 0) {
                        int j;
                        for (j = 0; j < i; j++)