Message ID | 1380550105-19372-1-git-send-email-fabio.estevam@freescale.com |
---|---|
State | New |
Headers | show |
On Mon, Sep 30, 2013 at 11:08:25AM -0300, Fabio Estevam wrote: > Commit e709f38cd7 (ARM: imx6: report soc info via soc device) causes the > following build error on imx_v4_v5_defconfig: > > arch/arm/mach-imx/cpu.c: In function 'imx_soc_device_init': > arch/arm/mach-imx/cpu.c:129:2: error: implicit declaration of function 'IS_ERR' [-Werror=implicit-function-declaration] > > Include <linux/err.h> to fix it. The same fix was already sent earlier: http://mid.gmane.org/1380542691-24756-1-git-send-email-treding@nvidia.com Best regards Uwe
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index fae2c9a..c862402 100644 --- a/arch/arm/mach-imx/cpu.c +++ b/arch/arm/mach-imx/cpu.c @@ -1,4 +1,5 @@ +#include <linux/err.h> #include <linux/module.h> #include <linux/io.h> #include <linux/of.h>
Commit e709f38cd7 (ARM: imx6: report soc info via soc device) causes the following build error on imx_v4_v5_defconfig: arch/arm/mach-imx/cpu.c: In function 'imx_soc_device_init': arch/arm/mach-imx/cpu.c:129:2: error: implicit declaration of function 'IS_ERR' [-Werror=implicit-function-declaration] Include <linux/err.h> to fix it. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- arch/arm/mach-imx/cpu.c | 1 + 1 file changed, 1 insertion(+)