diff mbox

sh: explicitly include sh_dma.h in setup-sh7722.c

Message ID Pine.LNX.4.64.1208011044150.5406@axis700.grange (mailing list archive)
State Accepted
Commit 08298f0612e5e369d1da89b92cac5d2c71ddb9af
Headers show

Commit Message

Guennadi Liakhovetski Aug. 1, 2012, 8:44 a.m. UTC
setup-sh7722.c defines several objects, whose types are defined in
sh_dma.h, so, it has to be included explicitly.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---
 arch/sh/kernel/cpu/sh4a/setup-sh7722.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Paul Mundt Aug. 2, 2012, 6:37 a.m. UTC | #1
On Wed, Aug 01, 2012 at 10:44:57AM +0200, Guennadi Liakhovetski wrote:
> setup-sh7722.c defines several objects, whose types are defined in
> sh_dma.h, so, it has to be included explicitly.
> 
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
index 65786c7..6a868b0 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
@@ -12,6 +12,7 @@ 
 #include <linux/platform_device.h>
 #include <linux/serial.h>
 #include <linux/serial_sci.h>
+#include <linux/sh_dma.h>
 #include <linux/sh_timer.h>
 #include <linux/sh_intc.h>
 #include <linux/uio_driver.h>