Skip to contentSkip to conversation

ARM: OMAP2: Fix compillation error in cm_common

PATCH New Peter Ujfalusi 3 participants 3 messages Nov 12, 2012

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

PATCH 1/1 ARM: OMAP2: Fix compillation error in cm_common

Fixes the following error:
CC arch/arm/mach-omap2/cm_common.o
arch/arm/mach-omap2/cm_common.c: In function ?cm_register?:
arch/arm/mach-omap2/cm_common.c:42:11: error: ?EINVAL? undeclared (first use in this function) arch/arm/mach-omap2/cm_common.c:42:11: note: each undeclared identifier is reported only once for each function it appears in arch/arm/mach-omap2/cm_common.c:45:11: error: ?EEXIST? undeclared (first use in this function) arch/arm/mach-omap2/cm_common.c: In function ?cm_unregister?:
arch/arm/mach-omap2/cm_common.c:66:11: error: ?EINVAL? undeclared (first use in this function)
make[1]: *** [arch/arm/mach-omap2/cm_common.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

---

Hi,

with today's linux-next the kernel build failed with the abive error for OMAP.

Regards,
Peter

 arch/arm/mach-omap2/cm_common.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/cm_common.c +1 -0
index 3246cef..3fafc27 100644
@@ -13,6 +13,7 @@
 
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/errno.h>
 
 #include "cm2xxx.h"
 #include "cm3xxx.h"
Signature · 1 line
1.8.0
#1 lore raw

PATCH 1/1 ARM: OMAP2: Fix compillation error in cm_common

Hi

Quoted 38 lines · Peter Ujfalusi

Fixes the following error:
CC arch/arm/mach-omap2/cm_common.o
arch/arm/mach-omap2/cm_common.c: In function ?cm_register?:
arch/arm/mach-omap2/cm_common.c:42:11: error: ?EINVAL? undeclared (first use in this function) arch/arm/mach-omap2/cm_common.c:42:11: note: each undeclared identifier is reported only once for each function it appears in arch/arm/mach-omap2/cm_common.c:45:11: error: ?EEXIST? undeclared (first use in this function) arch/arm/mach-omap2/cm_common.c: In function ?cm_unregister?:
arch/arm/mach-omap2/cm_common.c:66:11: error: ?EINVAL? undeclared (first use in this function)
make[1]: *** [arch/arm/mach-omap2/cm_common.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

---

Hi,

with today's linux-next the kernel build failed with the abive error for OMAP.

Regards,
Peter

 arch/arm/mach-omap2/cm_common.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/cm_common.c +1 -0
index 3246cef..3fafc27 100644
@@ -13,6 +13,7 @@
 
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/errno.h>
 
 #include "cm2xxx.h"
 #include "cm3xxx.h"
Signature · 1 line
1.8.0

Thanks Peter.

Tony, how would you like to handle this one?

- Paul

maintainer
#2 lore raw

PATCH 1/1 ARM: OMAP2: Fix compillation error in cm_common

Quoted 45 lines · Paul Walmsley

Hi

Quoted 38 lines · Peter Ujfalusi

Fixes the following error:
CC arch/arm/mach-omap2/cm_common.o
arch/arm/mach-omap2/cm_common.c: In function ?cm_register?:
arch/arm/mach-omap2/cm_common.c:42:11: error: ?EINVAL? undeclared (first use in this function) arch/arm/mach-omap2/cm_common.c:42:11: note: each undeclared identifier is reported only once for each function it appears in arch/arm/mach-omap2/cm_common.c:45:11: error: ?EEXIST? undeclared (first use in this function) arch/arm/mach-omap2/cm_common.c: In function ?cm_unregister?:
arch/arm/mach-omap2/cm_common.c:66:11: error: ?EINVAL? undeclared (first use in this function)
make[1]: *** [arch/arm/mach-omap2/cm_common.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

---

Hi,

with today's linux-next the kernel build failed with the abive error for OMAP.

Regards,
Peter

 arch/arm/mach-omap2/cm_common.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/cm_common.c +1 -0
index 3246cef..3fafc27 100644
@@ -13,6 +13,7 @@
 
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/errno.h>
 
 #include "cm2xxx.h"
 #include "cm3xxx.h"
Signature · 1 line
1.8.0
Quoted 3 lines

Thanks Peter.

Tony, how would you like to handle this one?

I can queue it.

Regards,

Tony