Skip to contentSkip to conversation

libertas: include sched.h on firmware.c

PATCH New Luis R. Rodriguez 1 participant 1 message Apr 24, 2012 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libertas: include sched.h on firmware.c

From: "Luis R. Rodriguez" <[email protected]>

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().

---
 drivers/net/wireless/libertas/firmware.c |    1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/libertas/firmware.c +1 -0
index 77f6504..601f207 100644
@@ -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>
Signature · 1 line
1.7.10.rc1.22.gf5241