From: Randy Dunlap <randy.dunlap@oracle•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>, linux-media@vger•kernel.org
Cc: linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>,
Mauro Carvalho Chehab <mchehab@infradead•org>
Subject: [PATCH -next] radio/si470x: #include <sched.h>
Date: Mon, 14 Dec 2009 09:08:13 -0800 [thread overview]
Message-ID: <20091214090813.a9e3d77f.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20091214165927.c08c4784.sfr@canb.auug.org.au>
From: Randy Dunlap <randy.dunlap@oracle•com>
Driver needs to #include <sched.h>:
drivers/media/radio/si470x/radio-si470x-common.c:452: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
drivers/media/radio/si470x/radio-si470x-common.c:452: error: implicit declaration of function 'signal_pending'
drivers/media/radio/si470x/radio-si470x-common.c:452: error: implicit declaration of function 'schedule'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle•com>
---
drivers/media/radio/si470x/radio-si470x.h | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20091214.orig/drivers/media/radio/si470x/radio-si470x.h
+++ linux-next-20091214/drivers/media/radio/si470x/radio-si470x.h
@@ -29,6 +29,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
+#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/smp_lock.h>
#include <linux/input.h>
next prev parent reply other threads:[~2009-12-14 17:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-14 5:59 linux-next: Tree for December 14 Stephen Rothwell
2009-12-14 16:44 ` [PATCH] staging/vt66*: kconfig, depends on WLAN Randy Dunlap
2009-12-14 17:08 ` Randy Dunlap [this message]
2009-12-14 17:10 ` [PATCH -next] fs: fix compat_ioctl build for CONFIG_BLOCK=n Randy Dunlap
2009-12-14 20:16 ` Arnd Bergmann
2009-12-15 19:29 ` Randy Dunlap
2009-12-14 19:06 ` linux-next: Tree for December 14 (nouveau & AGP) Randy Dunlap
2009-12-14 19:51 ` [PATCH -next] nouveau: fix ch7006 build Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091214090813.a9e3d77f.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-media@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=mchehab@infradead$(echo .)org \
--cc=sfr@canb$(echo .)auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox