From: Randy Dunlap <randy.dunlap@oracle.com>
To: LKML <linux-kernel@vger.kernel.org>,
linux-next@vger.kernel.org, linux-media@vger.kernel.org,
Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: [PATCH -next] media/common/tuners: fix use of KERNEL_VERSION
Date: Mon, 30 Nov 2009 22:34:25 -0800 [thread overview]
Message-ID: <4B14B8F1.6000805@oracle.com> (raw)
From: Randy Dunlap <randy.dunlap@oracle.com>
pms.c uses KERNEL_VERSION so it needs to include version.h.
drivers/media/video/pms.c:682: error: implicit declaration of function 'KERNEL_VERSION'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/media/video/pms.c | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20091130.orig/drivers/media/video/pms.c
+++ linux-next-20091130/drivers/media/video/pms.c
@@ -29,6 +29,7 @@
#include <linux/mm.h>
#include <linux/ioport.h>
#include <linux/init.h>
+#include <linux/version.h>
#include <asm/io.h>
#include <linux/videodev2.h>
#include <media/v4l2-common.h>
next reply other threads:[~2009-12-01 6:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-01 6:34 Randy Dunlap [this message]
2009-12-01 6:40 ` [PATCH -next] media/common/tuners: fix use of KERNEL_VERSION 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=4B14B8F1.6000805@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=mchehab@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).