aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/of.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2011-10-06 08:40:44 -0400
committerGrant Likely <grant.likely@secretlab.ca>2011-10-29 06:49:40 -0400
commite51130c0f5e5ca2f5b669ca6759e0ae1aa197b63 (patch)
treef2160b4248909def62b33c24f1d1c1863781a9ce /include/linux/of.h
parentec7ae517537ae5c7b0b2cd7f562dfa3e7a05b954 (diff)
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 <kvalo@qca.qualcomm.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/linux/of.h')
-rw-r--r--include/linux/of.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h
index 92c40a142243..5dbe263462a9 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -17,6 +17,7 @@
17 */ 17 */
18#include <linux/types.h> 18#include <linux/types.h>
19#include <linux/bitops.h> 19#include <linux/bitops.h>
20#include <linux/errno.h>
20#include <linux/kref.h> 21#include <linux/kref.h>
21#include <linux/mod_devicetable.h> 22#include <linux/mod_devicetable.h>
22#include <linux/spinlock.h> 23#include <linux/spinlock.h>