Skip to content

Commit

Permalink
staging: ath6kl: Fixing a compile error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vipin Mehta authored and Greg Kroah-Hartman committed Sep 21, 2010
1 parent 86fc4c8 commit 103281d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/ath6kl/os/linux/include/osapi_linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down

0 comments on commit 103281d

Please sign in to comment.