linux/arch/arm/mach-mxs/include/mach
Dong Aisheng d3144df5bd ARM: mxs-dma: include <linux/dmaengine.h>
Other files using dma.h may fail to compile as follows:
In file included from sound/soc/mxs/mxs-pcm.h:22,
                 from sound/soc/mxs/mxs-saif.h:112,
                 from sound/soc/mxs/mxs-sgtl5000.c:34:
arch/arm/mach-mxs/include/mach/dma.h:16: warning: 'struct dma_chan' declared inside parameter list
arch/arm/mach-mxs/include/mach/dma.h:16: warning: its scope is only this definition or declaration, which is probably not what you want
arch/arm/mach-mxs/include/mach/dma.h: In function 'mxs_dma_is_apbh':
arch/arm/mach-mxs/include/mach/dma.h:18: error: dereferencing pointer to incomplete type
arch/arm/mach-mxs/include/mach/dma.h: At top level:
arch/arm/mach-mxs/include/mach/dma.h:21: warning: 'struct dma_chan' declared inside parameter list
arch/arm/mach-mxs/include/mach/dma.h: In function 'mxs_dma_is_apbx':
arch/arm/mach-mxs/include/mach/dma.h:23: error: dereferencing pointer to incomplete type
make[3]: *** [sound/soc/mxs/mxs-sgtl5000.o] Error 1
make[2]: *** [sound/soc/mxs] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2

It seems it's better for dma.h to include dmaengine.h himself.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-07-15 10:45:28 +02:00
..
clkdev.h ARM: mxs: Add clock support 2010-12-20 17:30:22 +01:00
clock.h ARM i.MX23/28: remove secondary field from struct clk. It's unused 2011-01-24 09:01:48 +01:00
common.h ARM: mxs: add ocotp read function 2011-01-21 11:36:49 +01:00
debug-macro.S ARM: mxs: Add low-level debug UART support 2010-12-20 17:29:23 +01:00
devices-common.h ARM: mxs: fix naming of struct holding info for mxs-i2c devices 2011-05-19 13:11:23 +02:00
dma.h ARM: mxs-dma: include <linux/dmaengine.h> 2011-07-15 10:45:28 +02:00
entry-macro.S ARM: mxs: Add interrupt support 2010-12-20 10:37:56 +01:00
gpio.h ARM: mxs: Add gpio support 2010-12-20 17:29:51 +01:00
hardware.h
io.h ARM: mxs: Add helper definition and function 2010-12-13 14:49:50 +01:00
iomux-mx23.h ARM: mxs: fix typo "GPO" in iomux-mx23.h 2011-03-07 19:29:47 +01:00
iomux-mx28.h ARM: mxs: Add iomux support 2010-12-20 17:29:58 +01:00
iomux.h ARM: mxs: add helper macro for pad control 2011-03-07 19:29:45 +01:00
irqs.h
memory.h
mmc.h mmc: mxs-mmc: add mmc host driver for i.MX23/28 2011-03-15 13:49:37 -04:00
mx23.h ARM: mxs/i.MX23: make i2c defines consistent and match the reference manual 2011-05-19 13:11:21 +02:00
mx28.h ARM: mxs: make ssp error irq definition consistent 2011-03-07 19:29:54 +01:00
mxs.h ARM: mxs: Initial support for Ka-Ro TX28 2011-03-07 19:29:07 +01:00
mxsfb.h video: Add i.MX23/28 framebuffer driver 2011-03-07 19:29:30 +01:00
system.h ARM: mxs: Add reset routines 2010-12-20 10:37:52 +01:00
timex.h ARM: mxs: Add helper definition and function 2010-12-13 14:49:50 +01:00
uncompress.h ARM: zImage: remove the static qualifier from global data variables 2011-05-07 00:08:02 -04:00
vmalloc.h ARM: mxs: Add helper definition and function 2010-12-13 14:49:50 +01:00