From: Kalle Valo Date: Thu, 6 Oct 2011 12:40:44 +0000 (+0300) Subject: of: include errno.h X-Git-Tag: v3.2-rc1~66^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e51130c0f5e5ca2f5b669ca6759e0ae1aa197b63;p=platform%2Fkernel%2Flinux-exynos.git of: include errno.h When compiling ath6kl for beagleboard (omap2plus_defconfig plus CONFIG_ATH6KL, CONFIG_OF disable) with current linux-next compilation fails: include/linux/of.h:269: error: 'ENOSYS' undeclared (first use in this function) include/linux/of.h:276: error: 'ENOSYS' undeclared (first use in this function) include/linux/of.h:289: error: 'ENOSYS' undeclared (first use in this function) Fix this by including errno.h from of.h. Signed-off-by: Kalle Valo Acked-by: Geert Uytterhoeven Signed-off-by: Grant Likely --- diff --git a/include/linux/of.h b/include/linux/of.h index 92c40a1..5dbe263 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -17,6 +17,7 @@ */ #include #include +#include #include #include #include