Skip to contentSkip to conversation

staging: ath6kl: Fixing a compile error

PATCH New Vipin Mehta 1 participant 1 message Sep 18, 2010 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 .../staging/ath6kl/os/linux/include/osapi_linux.h  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/ath6kl/os/linux/include/osapi_linux.h +1 -1
index ef7cc82..fce6ceb 100644
@@ -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__
Signature · 1 line
1.6.3.3