summaryrefslogtreecommitdiff
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorAisheng.Dong <b29396@freescale.com>2010-09-27 21:11:50 +0800
committerAndy Voltz <andy.voltz@timesys.com>2011-06-01 13:19:21 -0400
commitc1706a5444af1afa9cf7294419f7bc886b4bb00a (patch)
treeaef8d76ee447f4255eb3dec9bdd45014db05f606 /drivers/net/wireless
parent5eb43e96ee81acce7cd8c3d13b619e5f92e2d99b (diff)
ENGR00132491-2 ath6kl upgrade: add missed semaphore.h headfile
Add missed headfile or the compiling will fail. Signed-off-by: Aisheng.Dong <b29396@freescale.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath6kl/hif/sdio/linux_sdio/include/hif_internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath6kl/hif/sdio/linux_sdio/include/hif_internal.h b/drivers/net/wireless/ath6kl/hif/sdio/linux_sdio/include/hif_internal.h
index e0155a58ec9a..efdfd0dbfb9c 100644
--- a/drivers/net/wireless/ath6kl/hif/sdio/linux_sdio/include/hif_internal.h
+++ b/drivers/net/wireless/ath6kl/hif/sdio/linux_sdio/include/hif_internal.h
@@ -32,6 +32,12 @@
#define HIF_LINUX_MMC_SCATTER_SUPPORT
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27)
+#include <asm/semaphore.h>
+#else
+#include <linux/semaphore.h>
+#endif
+
#define BUS_REQUEST_MAX_NUM 64
#define SDIO_CLOCK_FREQUENCY_DEFAULT 25000000