lkml.org 
[lkml]   [2013]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ARM: imx: Include linux/err.h
On Mon, Sep 30, 2013 at 02:04:51PM +0200, Thierry Reding wrote:
> The IS_ERR() macro is defined in the linux/err.h header file, so include
> it explicitly.

Hmm, I can not find IS_ERR() in arch/arm/mach-imx/cpu.c

Shawn

> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
> arch/arm/mach-imx/cpu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c
> index fae2c9a..ba3b498 100644
> --- a/arch/arm/mach-imx/cpu.c
> +++ b/arch/arm/mach-imx/cpu.c
> @@ -1,4 +1,4 @@
> -
> +#include <linux/err.h>
> #include <linux/module.h>
> #include <linux/io.h>
> #include <linux/of.h>
> --
> 1.8.4
>



\
 
 \ /
  Last update: 2013-10-05 04:41    [W:1.305 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site