[PATCH] libertas: add missing include
Dan Williams
dcbw at redhat.com
Thu Apr 19 11:19:14 EDT 2012
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 <dcbw at redhat.com>
> Signed-off-by: Felix Fietkau <nbd at openwrt.org>
> ---
> 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"
More information about the libertas-dev
mailing list