summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSangwook Lee <sangwook.lee@linaro.org>2011-10-26 16:28:38 +0100
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-11 12:58:55 +0200
commitf7830202c3ae934e2b978b750656626b203decb4 (patch)
treee6d78df16663f63eb1cfb33337127611bd5e3365 /drivers
parenta24fc7c35324618ce5fe9c54baa4bc9a3881cc86 (diff)
ath6kl: Fix compilation error from of.h
When compiling ath6kl for ARM with device tree tree compilation fails with errors like: include/linux/of.h: In function 'of_property_read_u32_array': include/linux/of.h:249:10: error: 'ENOSYS' undeclared Workaround this by including errno.h from init.c. kvalo: improved commit log Signed-off-by: Sangwook Lee <sangwook.lee@linaro.org> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath6kl/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c
index c638aabd417e..6e6a1413ed3d 100644
--- a/drivers/net/wireless/ath/ath6kl/init.c
+++ b/drivers/net/wireless/ath/ath6kl/init.c
@@ -16,6 +16,7 @@
*/
#include <linux/moduleparam.h>
+#include <linux/errno.h>
#include <linux/of.h>
#include <linux/mmc/sdio_func.h>
#include "core.h"