aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis R. Rodriguez2012-04-23 19:55:48 -0700
committerJohn W. Linville2012-05-08 20:56:07 -0400
commit138a53ef49ac59860aa6ed0c9ea117d221174a9a (patch)
tree657de83ea5e3171f70212db0872342f3e35f279d
parent9bb862beb6e5839e92f709d33fda07678f062f20 (diff)
libertas: include sched.h on firmware.c
Do not assume we have our subsystem including this for us, at least for older kernels this is not true. Lets just be explicit about this requirement for the usage of wake_up(). Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/libertas/firmware.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/firmware.c b/drivers/net/wireless/libertas/firmware.c
index 77f6504fd55d..601f2075355e 100644
--- a/drivers/net/wireless/libertas/firmware.c
+++ b/drivers/net/wireless/libertas/firmware.c
@@ -2,6 +2,7 @@
* Firmware loading and handling functions.
*/
+#include <linux/sched.h>
#include <linux/firmware.h>
#include <linux/firmware.h>
#include <linux/module.h>