2012-11-20 09:26:18

by Constantine Shulyupin

[permalink] [raw]
Subject: [PATCH] fix compilation error in cm_common.c

From: Constantine Shulyupin <[email protected]>

Added required linux/errno.h

Signed-off-by: Constantine Shulyupin <[email protected]>
---
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.7.9.5


2012-11-20 09:53:09

by Peter Ujfalusi

[permalink] [raw]
Subject: Re: [PATCH] fix compilation error in cm_common.c

On 11/20/2012 10:25 AM, Constantine Shulyupin wrote:
> From: Constantine Shulyupin <[email protected]>
>
> Added required linux/errno.h
>
> Signed-off-by: Constantine Shulyupin <[email protected]>

This supposed to be already fixed:
https://patchwork.kernel.org/patch/1728521/

> ---
> 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"
>


--
P?ter