2010-06-01 12:27:49

by Daniel J Blueman

[permalink] [raw]
Subject: [2.6.35-rc1, patch] omap2/3 ohci build failure...

Fix the 'DMA_BIT_MASK' missing symbol causing build failure when
building 2.6.35-rc1 for an TI OMAP2/3 platform.

Signed-off-by: Daniel J Blueman <[email protected]>

diff --git a/arch/arm/mach-omap2/usb-ehci.c b/arch/arm/mach-omap2/usb-ehci.c
index c68f799..d1a4f22 100644
--- a/arch/arm/mach-omap2/usb-ehci.c
+++ b/arch/arm/mach-omap2/usb-ehci.c
@@ -19,6 +19,7 @@
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
+#include <linux/dma-mapping.h>
#include <linux/clk.h>
#include <asm/io.h>
#include <plat/mux.h>
--
Daniel J Blueman


2010-06-01 12:32:28

by Anand Gadiyar

[permalink] [raw]
Subject: RE: [2.6.35-rc1, patch] omap2/3 ohci build failure...

Daniel J Blueman wrote:
> Fix the 'DMA_BIT_MASK' missing symbol causing build failure when
> building 2.6.35-rc1 for an TI OMAP2/3 platform.
>
> Signed-off-by: Daniel J Blueman <[email protected]>
>

Thanks. A similar patch was posted by Amit Kucheria [1].

In addition, you need a patch at [2]. I think Tony has queued these.

- Anand

[1] <https://patchwork.kernel.org/patch/101692/>
[2] <https://patchwork.kernel.org/patch/102917/>

> diff --git a/arch/arm/mach-omap2/usb-ehci.c b/arch/arm/mach-omap2/usb-ehci.c
> index c68f799..d1a4f22 100644
> --- a/arch/arm/mach-omap2/usb-ehci.c
> +++ b/arch/arm/mach-omap2/usb-ehci.c
> @@ -19,6 +19,7 @@
> #include <linux/errno.h>
> #include <linux/delay.h>
> #include <linux/platform_device.h>
> +#include <linux/dma-mapping.h>
> #include <linux/clk.h>
> #include <asm/io.h>
> #include <plat/mux.h>
> --
> Daniel J Blueman
> -