linux-kernel-test/arch/arm/mach-mxs
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
..
devices ARM: mxs: fix naming of struct holding info for mxs-i2c devices 2011-05-19 13:11:23 +02:00
include/mach ARM: mxs-dma: include <linux/dmaengine.h> 2011-07-15 10:45:28 +02:00
clock-mx23.c mx23: register clocks for mmc 2011-05-19 13:11:35 +02:00
clock-mx28.c ARM: mxs/clock-mx28: fix up name##_set_rate 2011-04-12 09:48:02 +02:00
clock.c ARM i.MX23/28: remove secondary field from struct clk. It's unused 2011-01-24 09:01:48 +01:00
devices-mx23.h ARM: mxs: dynamically allocate mmc device 2011-03-25 08:36:55 +01:00
devices-mx28.h ARM: mxs: fix naming of struct holding info for mxs-i2c devices 2011-05-19 13:11:23 +02:00
devices.c ARM: mxs: free dma_mask in error path 2011-03-01 14:19:55 +01:00
gpio.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
gpio.h ARM: mxs: Add gpio support 2010-12-20 17:29:51 +01:00
icoll.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
iomux.c ARM: mxs: Add iomux support 2010-12-20 17:29:58 +01:00
Kconfig Merge branch 'devel-stable' into for-linus 2011-05-23 19:28:04 +01:00
mach-mx23evk.c ARM: mxs/mach-mx2[38]evk: Set the initial value on gpio_request_one 2011-05-19 13:11:10 +02:00
mach-mx28evk.c ARM: mxs/mach-mx2[38]evk: Set the initial value on gpio_request_one 2011-05-19 13:11:10 +02:00
mach-stmp378x_devb.c ARM: mach-mxs: add stmp378x-devb 2011-05-02 19:08:54 +01:00
mach-tx28.c arm: mxs: tx28: add i2c bus and connected RTC 2011-03-07 19:29:18 +01:00
Makefile ARM: mach-mxs: add stmp378x-devb 2011-05-02 19:08:54 +01:00
Makefile.boot ARM: mxs: Add build configuration for mxs 2010-12-20 17:30:44 +01:00
mm-mx23.c ARM: mxs: Add static memory mapping 2010-12-20 17:30:23 +01:00
mm-mx28.c ARM: mxs: Add static memory mapping 2010-12-20 17:30:23 +01:00
module-tx28.c ARM: mxs: configure and register the second FEC device on TX28/STK5-V4 2011-03-23 15:08:14 +01:00
module-tx28.h ARM: mxs: configure and register the second FEC device on TX28/STK5-V4 2011-03-23 15:08:14 +01:00
ocotp.c arm: mxs: include asm/processor.h for cpu_relax() 2011-06-06 09:50:04 +02:00
pm.c ARM: mxs: add initial pm support 2011-01-26 08:30:49 +01:00
regs-clkctrl-mx23.h ARM i.MX23: remove reserved register defines 2011-01-28 08:28:52 +01:00
regs-clkctrl-mx28.h ARM i.MX28: remove reserved register defines 2011-01-28 08:28:57 +01:00
system.c ARM: mxs: Add missing EXPORT_SYMBOL for mxs_reset_block 2011-03-07 19:29:06 +01:00
timer.c clocksource: convert MXS timrotv2 to 32-bit down counting clocksource 2011-05-23 18:04:52 +01:00