summaryrefslogtreecommitdiffstats
path: root/arch/arm/common
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-10-17 14:39:26 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-10-17 14:39:26 +0200
commit957cf333b5284943c4866e1d0339a105d2762c9c (patch)
tree06cae6a676c21de38664cb86ea191b397a6c4dd6 /arch/arm/common
parent[ARM] pxa: fix redefinition of NR_IRQS (diff)
downloadlinux-957cf333b5284943c4866e1d0339a105d2762c9c.tar.xz
linux-957cf333b5284943c4866e1d0339a105d2762c9c.zip
[ARM] pxa: fix 3bca103a1e658d23737d20e1989139d9ca8973bf
arch/arm/common/sa1111.c:593: error: implicit declaration of function 'dmabounce_register_dev' Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common')
-rw-r--r--arch/arm/common/sa1111.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c
index fb86f248aab8..6094c34d9bae 100644
--- a/arch/arm/common/sa1111.c
+++ b/arch/arm/common/sa1111.c
@@ -581,6 +581,7 @@ sa1111_init_one_child(struct sa1111 *sachip, struct resource *parent,
goto out;
}
+#ifdef CONFIG_DMABOUNCE
/*
* If the parent device has a DMA mask associated with it,
* propagate it down to the children.
@@ -598,6 +599,7 @@ sa1111_init_one_child(struct sa1111 *sachip, struct resource *parent,
}
}
}
+#endif
out:
return ret;