* [PATCH] libertas: add missing include
@ 2012-04-19 11:54 Felix Fietkau
2012-04-19 15:19 ` Dan Williams
0 siblings, 1 reply; 2+ messages in thread
From: Felix Fietkau @ 2012-04-19 11:54 UTC (permalink / raw)
To: linux-wireless; +Cc: linville, libertas-dev, dcbw
Without it, I get compile errors due to missing TASK_NORMAL,
TASK_UNINTERRUPTIBLE and schedule.
Signed-off-by: Felix Fietkau <nbd@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"
--
1.7.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] libertas: add missing include
2012-04-19 11:54 [PATCH] libertas: add missing include Felix Fietkau
@ 2012-04-19 15:19 ` Dan Williams
0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2012-04-19 15:19 UTC (permalink / raw)
To: Felix Fietkau; +Cc: linux-wireless, linville, libertas-dev
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@redhat.com>
> Signed-off-by: Felix Fietkau <nbd@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"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-19 15:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-19 11:54 [PATCH] libertas: add missing include Felix Fietkau
2012-04-19 15:19 ` Dan Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).