public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Alexander Beregalov <a.beregalov@gmail•com>
To: hverkuil@xs4all•nl, mchehab@redhat•com,
	linux-media@vger•kernel.org, linux-next@vger•kernel.org
Cc: Alexander Beregalov <a.beregalov@gmail•com>
Subject: [PATCH] V4L/DVB: pms: KERNEL_VERSION requires version.h
Date: Thu,  3 Dec 2009 12:48:27 +0300	[thread overview]
Message-ID: <1259833707-23776-1-git-send-email-a.beregalov@gmail.com> (raw)

Fix this build error:
drivers/media/video/pms.c:682: error: implicit declaration of function 'KERNEL_VERSION'

Signed-off-by: Alexander Beregalov <a.beregalov@gmail•com>
---
 drivers/media/video/pms.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/media/video/pms.c b/drivers/media/video/pms.c
index 00228d5..a118bb1 100644
--- a/drivers/media/video/pms.c
+++ b/drivers/media/video/pms.c
@@ -35,6 +35,7 @@
 #include <media/v4l2-ioctl.h>
 #include <media/v4l2-device.h>
 #include <linux/mutex.h>
+#include <linux/version.h>
 
 #include <asm/uaccess.h>
 
-- 
1.6.5.3

             reply	other threads:[~2009-12-03  9:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-03  9:48 Alexander Beregalov [this message]
2009-12-03 16:20 ` [PATCH] V4L/DVB: pms: KERNEL_VERSION requires version.h 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=1259833707-23776-1-git-send-email-a.beregalov@gmail.com \
    --to=a.beregalov@gmail$(echo .)com \
    --cc=hverkuil@xs4all$(echo .)nl \
    --cc=linux-media@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=mchehab@redhat$(echo .)com \
    /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