summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>2012-04-24 04:55:48 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-05-09 02:56:07 +0200
commit138a53ef49ac59860aa6ed0c9ea117d221174a9a (patch)
tree657de83ea5e3171f70212db0872342f3e35f279d /drivers
parentMerge branch 'master' of git://1984.lsi.us.es/net-next (diff)
downloadlinux-138a53ef49ac59860aa6ed0c9ea117d221174a9a.tar.xz
linux-138a53ef49ac59860aa6ed0c9ea117d221174a9a.zip
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>
Diffstat (limited to 'drivers')
-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>