summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/dma.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-09-05 16:10:27 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-05 18:02:33 +0200
commitc0fc18c5bf016a9d56aee64974c1ccdb87f3c783 (patch)
treea5269222c380d39846d477c68264247e601a31fc /arch/arm/plat-omap/dma.c
parent[ARM] omap: fix inappropriate casting in gpio.c (diff)
downloadlinux-c0fc18c5bf016a9d56aee64974c1ccdb87f3c783.tar.xz
linux-c0fc18c5bf016a9d56aee64974c1ccdb87f3c783.zip
[ARM] omap: fix lots of 'Using plain integer as NULL pointer'
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-omap/dma.c')
-rw-r--r--arch/arm/plat-omap/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c
index b4057e271875..50f8b4ad9a09 100644
--- a/arch/arm/plat-omap/dma.c
+++ b/arch/arm/plat-omap/dma.c
@@ -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++)