* [PATCH] V4L/DVB: pms: KERNEL_VERSION requires version.h
@ 2009-12-03 9:48 Alexander Beregalov
2009-12-03 16:20 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Beregalov @ 2009-12-03 9:48 UTC (permalink / raw)
To: hverkuil, mchehab, linux-media, linux-next; +Cc: Alexander Beregalov
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] V4L/DVB: pms: KERNEL_VERSION requires version.h
2009-12-03 9:48 [PATCH] V4L/DVB: pms: KERNEL_VERSION requires version.h Alexander Beregalov
@ 2009-12-03 16:20 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2009-12-03 16:20 UTC (permalink / raw)
To: Alexander Beregalov; +Cc: hverkuil, mchehab, linux-media, linux-next
On Thu, 3 Dec 2009 12:48:27 +0300 Alexander Beregalov wrote:
> 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>
I've already sent this patch, so I can also ack it...
Acked-by: Randy Dunlap <randy.dunlap@oracle•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>
>
> --
---
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-03 16:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03 9:48 [PATCH] V4L/DVB: pms: KERNEL_VERSION requires version.h Alexander Beregalov
2009-12-03 16:20 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox