From: Russell King Date: Fri, 17 Oct 2008 12:39:26 +0000 (+0100) Subject: [ARM] pxa: fix 3bca103a1e658d23737d20e1989139d9ca8973bf X-Git-Tag: v2.6.28-rc1~63^2~11 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=957cf333b5284943c4866e1d0339a105d2762c9c;p=linux-2.6-omap-h63xx.git [ARM] pxa: fix 3bca103a1e658d23737d20e1989139d9ca8973bf arch/arm/common/sa1111.c:593: error: implicit declaration of function 'dmabounce_register_dev' Signed-off-by: Russell King --- diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c index fb86f248aab..6094c34d9ba 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;