]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: include asm/dma.h explicitly
authorLaura Abbott <lauraa@codeaurora.org>
Thu, 22 May 2014 00:44:20 +0000 (10:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:44:20 +0000 (10:44 +1000)
commit69bf06c126ed31fcd168c6c5000cc5231044fc8c
tree2a57bba2246989bde791780b9d412bd5cd3fe96e
parentbca74b3faf68cbc4b18c4434095b5bc4e3a90bfa
powerpc: include asm/dma.h explicitly

commit ff35bd54456e18878c361a8a2deeb41c9688458f (lib/scatterlist: make
ARCH_HAS_SG_CHAIN an actual Kconfig) changed powerpc to use the generic
scatterlist.h.  The powerpc scatterlist.h header was including asm/dma.h
as well so removing the include broke a few things:

arch/powerpc/platforms/52xx/efika.c: In function 'efika_probe':
arch/powerpc/platforms/52xx/efika.c:210:2: error: 'ISA_DMA_THRESHOLD' undeclared
arch/powerpc/platforms/52xx/efika.c:211:2: error: 'DMA_MODE_READ' undeclared
arch/powerpc/platforms/52xx/efika.c:212:2: error: 'DMA_MODE_WRITE' undeclared

Explicitly include asm/dma.h where necessary.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: kbuild test robot <fengguang.wu@intel.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/powerpc/platforms/52xx/efika.c
arch/powerpc/platforms/amigaone/setup.c