ARM: imx: Include linux/err.h
Subsystems (3)
PATCH 1/1 ARM: imx: Include linux/err.h
The IS_ERR() macro is defined in the linux/err.h header file, so include it explicitly.
Signed-off-by Thierry Reding <[email protected]>
--- arch/arm/mach-imx/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-imx/cpu.c +1 -1
@@ -1,4 +1,4 @@ - +#include <linux/err.h> #include <linux/module.h> #include <linux/io.h> #include <linux/of.h>
Signature · 1 line
1.8.4
Quoted 2 lines · Thierry Reding
The
IS_ERR()macro is defined in thelinux/err.hheader file, so include it explicitly.
Hmm, I can not find IS_ERR() in arch/arm/mach-imx/cpu.c
Shawn
Quoted 18 lines
Signed-off-by Thierry Reding <[email protected]>--- arch/arm/mach-imx/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-imx/cpu.c +1
-1@@ -1,4 +1,4 @@ - +#include <linux/err.h> #include <linux/module.h> #include <linux/io.h> #include <linux/of.h> Signature · 1 line
1.8.4
Shawn Guo
AppliedQuoted 5 lines · Shawn Guo
Quoted 2 lines · Thierry Reding
The
IS_ERR()macro is defined in thelinux/err.hheader file, so include it explicitly.Hmm, I can not find
IS_ERR()inarch/arm/mach-imx/cpu.c
Sorry, I did not look at the correct tree.
Applied, thanks.
Shawn