aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ath6kl
diff options
context:
space:
mode:
authorVipin Mehta <vmehta@atheros.com>2010-09-17 18:14:33 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-20 17:02:02 -0700
commit103281df0b7fec07872ef033666a1707b5755b9c (patch)
treeb9ac30a138ec0e0b922d3de822ce1ec745c1e784 /drivers/staging/ath6kl
parent86fc4c897e3e9ebcf6449be4fc2436abfe0473a2 (diff)
downloadkernel_samsung_tuna-103281df0b7fec07872ef033666a1707b5755b9c.zip
kernel_samsung_tuna-103281df0b7fec07872ef033666a1707b5755b9c.tar.gz
kernel_samsung_tuna-103281df0b7fec07872ef033666a1707b5755b9c.tar.bz2
staging: ath6kl: Fixing a compile error
The commit fixes a compilation error that was encountered while using a specific kernel configuration file. The problem was the use of some functions defined in <linux/semaphore.h> without including the header file explicitly. It was probably working before because of the dependency getting implicitly satisfied via some other header file. Reported-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Vipin Mehta <vmehta@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl')
-rw-r--r--drivers/staging/ath6kl/os/linux/include/osapi_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ath6kl/os/linux/include/osapi_linux.h b/drivers/staging/ath6kl/os/linux/include/osapi_linux.h
index ef7cc82..fce6ceb 100644
--- a/drivers/staging/ath6kl/os/linux/include/osapi_linux.h
+++ b/drivers/staging/ath6kl/os/linux/include/osapi_linux.h
@@ -39,7 +39,7 @@
#include <linux/timer.h>
#include <linux/delay.h>
#include <linux/wait.h>
-
+#include <linux/semaphore.h>
#include <linux/cache.h>
#ifdef __GNUC__