All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@Oracle.com>
To: Randy Dunlap <randy.dunlap@Oracle.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	linux-next@vger.kernel.org, linux-media@vger.kernel.org,
	Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: Re: [PATCH -next] media/common/tuners: fix use of KERNEL_VERSION
Date: Mon, 30 Nov 2009 22:40:00 -0800	[thread overview]
Message-ID: <4B14BA40.7040500@oracle.com> (raw)
In-Reply-To: <4B14B8F1.6000805@oracle.com>

Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> pms.c uses KERNEL_VERSION so it needs to include version.h.

Incorrect $subject, sorry.

> 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>


-- 
~Randy

      reply	other threads:[~2009-12-01  6:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-01  6:34 [PATCH -next] media/common/tuners: fix use of KERNEL_VERSION Randy Dunlap
2009-12-01  6:40 ` Randy Dunlap [this message]

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=4B14BA40.7040500@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.