linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] media/common/tuners: fix use of KERNEL_VERSION
@ 2009-12-01  6:34 Randy Dunlap
  2009-12-01  6:40 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2009-12-01  6:34 UTC (permalink / raw)
  To: LKML, linux-next, linux-media, Mauro Carvalho Chehab

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-01  6:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).