linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH linux-next] ARM: OMAP2: Fix compillation error in cm_common
@ 2012-11-12 15:17 Peter Ujfalusi
  2012-11-12 16:26 ` Paul Walmsley
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Ujfalusi @ 2012-11-12 15:17 UTC (permalink / raw)
  To: Paul Walmsley, Tony Lindgren, Stephen Rothwell
  Cc: linux-omap, linux-arm-kernel, linux-next

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

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---

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(+)

diff --git a/arch/arm/mach-omap2/cm_common.c b/arch/arm/mach-omap2/cm_common.c
index 3246cef..3fafc27 100644
--- a/arch/arm/mach-omap2/cm_common.c
+++ b/arch/arm/mach-omap2/cm_common.c
@@ -13,6 +13,7 @@
 
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/errno.h>
 
 #include "cm2xxx.h"
 #include "cm3xxx.h"
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH linux-next] ARM: OMAP2: Fix compillation error in cm_common
  2012-11-12 15:17 [PATCH linux-next] ARM: OMAP2: Fix compillation error in cm_common Peter Ujfalusi
@ 2012-11-12 16:26 ` Paul Walmsley
  2012-11-12 17:38   ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Walmsley @ 2012-11-12 16:26 UTC (permalink / raw)
  To: Peter Ujfalusi
  Cc: Tony Lindgren, Stephen Rothwell, linux-omap, linux-arm-kernel,
	linux-next

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1572 bytes --]

Hi

On Mon, 12 Nov 2012, Peter Ujfalusi wrote:

> 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
> 
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> ---
> 
> 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(+)
> 
> diff --git a/arch/arm/mach-omap2/cm_common.c b/arch/arm/mach-omap2/cm_common.c
> index 3246cef..3fafc27 100644
> --- a/arch/arm/mach-omap2/cm_common.c
> +++ b/arch/arm/mach-omap2/cm_common.c
> @@ -13,6 +13,7 @@
>  
>  #include <linux/kernel.h>
>  #include <linux/init.h>
> +#include <linux/errno.h>
>  
>  #include "cm2xxx.h"
>  #include "cm3xxx.h"
> -- 
> 1.8.0

Acked-by: Paul Walmsley <paul@pwsan.com>

Thanks Peter.

Tony, how would you like to handle this one?


- Paul

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH linux-next] ARM: OMAP2: Fix compillation error in cm_common
  2012-11-12 16:26 ` Paul Walmsley
@ 2012-11-12 17:38   ` Tony Lindgren
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2012-11-12 17:38 UTC (permalink / raw)
  To: Paul Walmsley
  Cc: Peter Ujfalusi, Stephen Rothwell, linux-omap, linux-arm-kernel,
	linux-next

* Paul Walmsley <paul@pwsan.com> [121112 08:27]:
> Hi
> 
> On Mon, 12 Nov 2012, Peter Ujfalusi wrote:
> 
> > 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
> > 
> > Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> > ---
> > 
> > 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(+)
> > 
> > diff --git a/arch/arm/mach-omap2/cm_common.c b/arch/arm/mach-omap2/cm_common.c
> > index 3246cef..3fafc27 100644
> > --- a/arch/arm/mach-omap2/cm_common.c
> > +++ b/arch/arm/mach-omap2/cm_common.c
> > @@ -13,6 +13,7 @@
> >  
> >  #include <linux/kernel.h>
> >  #include <linux/init.h>
> > +#include <linux/errno.h>
> >  
> >  #include "cm2xxx.h"
> >  #include "cm3xxx.h"
> > -- 
> > 1.8.0
> 
> Acked-by: Paul Walmsley <paul@pwsan.com>
> 
> Thanks Peter.
> 
> Tony, how would you like to handle this one?

I can queue it.

Regards,

Tony

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-12 17:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-12 15:17 [PATCH linux-next] ARM: OMAP2: Fix compillation error in cm_common Peter Ujfalusi
2012-11-12 16:26 ` Paul Walmsley
2012-11-12 17:38   ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).