Skip to contentSkip to conversation

omap: Build failure with tip of Linus' tree

PATCH Amit Kucheria 3 participants 3 messages May 23, 2010 – May 25, 2010

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

Tony,

I see the following build failure with the latest tip from Linus. I'm not sure if something is yet to be merged for other subsystem trees before -rc1, but a patch to fix the build is attached.

Cheers,
Amit

Quoted 1 line

From 0222c29661c9a36dcf3a1b2786b62b0080b9dc88 Mon Sep 17 00:00:00 2001

Message-Id: <0222c29661c9a36dcf3a1b2786b62b0080b9dc88.1274572962.git.amit.kucheria@canonical.com>
From: Amit Kucheria <[email protected]>
Date: Sun, 23 May 2010 03:00:51 +0300
Subject: [PATCH] omap: fix build failure due to missing include dma-mapping.h

Fixes following error,

CC arch/arm/mach-omap2/usb-ehci.o
arch/arm/mach-omap2/usb-ehci.c:263: error: implicit declaration of function 'DMA_BIT_MASK'
arch/arm/mach-omap2/usb-ehci.c:263: error: initializer element is not constant make[1]: *** [arch/arm/mach-omap2/usb-ehci.o] Error 1

---
 arch/arm/mach-omap2/usb-ehci.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/usb-ehci.c +2 -0
index c68f799..d72d1ac 100644
@@ -20,6 +20,8 @@
 #include <linux/delay.h>
 #include <linux/platform_device.h>
 #include <linux/clk.h>
+#include <linux/dma-mapping.h>
+
 #include <asm/io.h>
 #include <plat/mux.h>
 
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 5 lines · Amit Kucheria

Tony,

I see the following build failure with the latest tip from Linus. I'm not sure if something is yet to be merged for other subsystem trees before -rc1, but a patch to fix the build is attached.

FWIw: Acked-by: Felipe Balbi <[email protected]>

Signature · 1 line
balbi
maintainer
#2 lore raw
In reply to Amit Kucheria
Quoted 5 lines · Amit Kucheria

Tony,

I see the following build failure with the latest tip from Linus. I'm not sure if something is yet to be merged for other subsystem trees before -rc1, but a patch to fix the build is attached.

Thanks, adding into omap-fixes queue for the -rc series.

Regards,

Tony