Skip to contentSkip to conversation

V4L/DVB: pms: KERNEL_VERSION requires version.h

PATCH In review Alexander Beregalov 2 participants 2 messages Dec 3, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 V4L/DVB: pms: KERNEL_VERSION requires version.h

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

---
 drivers/media/video/pms.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/media/video/pms.c +1 -0
index 00228d5..a118bb1 100644
@@ -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>
 
Signature · 1 line
1.6.5.3
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · 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'

I've already sent this patch, so I can also ack it...

Quoted 10 lines
---
 drivers/media/video/pms.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/media/video/pms.c +0 -0
index 00228d5..a118bb1 100644

drivers/media/video/pms.c line 41

Quoted 7 lines
drivers/media/video/pms.c +1 -0
@@ -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