LinuxTV Patchwork sh: migor: Include missing dma-mapping header

login
register
mail settings
Submitter Jacopo Mondi
Date Feb. 5, 2019, 7:37 p.m.
Message ID <20190205193742.24940-1-jacopo+renesas@jmondi.org>
Download mbox | patch
Permalink /patch/54310/
State Accepted
Delegated to: Hans Verkuil
Headers show

Comments

Jacopo Mondi - Feb. 5, 2019, 7:37 p.m.
Since the removal of the stale soc_camera headers, Migo-R board fails to
build due to missing dma-mapping include directive.

Include missing dma-mapping.h header in Migo-R board file to fix the build
error.

Fixes: a50c7738e8ae ("media: sh: migor: Remove stale soc_camera include")
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
---
Hans pointed me to this error quite some time ago, but it took me a kbuild
error to address this. Sorry for the delay.

Again, should this go through media as this is caused by soc_camera related
churn?

Thanks
  j

---
 arch/sh/boards/mach-migor/setup.c | 1 +
 1 file changed, 1 insertion(+)

--
2.20.1

Patch

diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c
index f4ad33c6d2aa..1d2993bdd231 100644
--- a/arch/sh/boards/mach-migor/setup.c
+++ b/arch/sh/boards/mach-migor/setup.c
@@ -5,6 +5,7 @@ 
  * Copyright (C) 2008 Magnus Damm
  */
 #include <linux/clkdev.h>
+#include <linux/dma-mapping.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>

Privacy Policy