]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
staging: ath6kl: Fixing a compile error
authorVipin Mehta <vmehta@atheros.com>
Sat, 18 Sep 2010 01:14:33 +0000 (18:14 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 21 Sep 2010 00:02:02 +0000 (17:02 -0700)
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>
drivers/staging/ath6kl/os/linux/include/osapi_linux.h

index ef7cc827cfb441203f523cdc299d0d4dfc655cc9..fce6ceb73fa4bff1dfc88b59458b5244bb72c93a 100644 (file)
@@ -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__