[PATCH] libertas: include sched.h on firmware.c
Luis R. Rodriguez
mcgrof at do-not-panic.com
Mon Apr 23 22:55:48 EDT 2012
From: "Luis R. Rodriguez" <mcgrof at do-not-panic.com>
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 at do-not-panic.com>
---
drivers/net/wireless/libertas/firmware.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/libertas/firmware.c b/drivers/net/wireless/libertas/firmware.c
index 77f6504..601f207 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>
--
1.7.10.rc1.22.gf5241
More information about the libertas-dev
mailing list