Without it, I get compile errors due to missing TASK_NORMAL,
TASK_UNINTERRUPTIBLE and schedule.
Signed-off-by: Felix Fietkau <[email protected]>
---
drivers/net/wireless/libertas/firmware.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/libertas/firmware.c b/drivers/net/wireless/libertas/firmware.c
index cd23f1a..77f6504 100644
--- a/drivers/net/wireless/libertas/firmware.c
+++ b/drivers/net/wireless/libertas/firmware.c
@@ -5,6 +5,7 @@
#include <linux/firmware.h>
#include <linux/firmware.h>
#include <linux/module.h>
+#include <linux/sched.h>
#include "dev.h"
#include "decl.h"
--
1.7.3.2
On Thu, 2012-04-19 at 13:54 +0200, Felix Fietkau wrote:
> Without it, I get compile errors due to missing TASK_NORMAL,
> TASK_UNINTERRUPTIBLE and schedule.
Yeah, got this too (though on 2.6.4x when testing CS, I don't think I
got it on 3.3).
Acked-by: Dan Williams <[email protected]>
> Signed-off-by: Felix Fietkau <[email protected]>
> ---
> drivers/net/wireless/libertas/firmware.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/wireless/libertas/firmware.c b/drivers/net/wireless/libertas/firmware.c
> index cd23f1a..77f6504 100644
> --- a/drivers/net/wireless/libertas/firmware.c
> +++ b/drivers/net/wireless/libertas/firmware.c
> @@ -5,6 +5,7 @@
> #include <linux/firmware.h>
> #include <linux/firmware.h>
> #include <linux/module.h>
> +#include <linux/sched.h>
>
> #include "dev.h"
> #include "decl.h"