[2/7] drivers/media/video/pms.c needs version.h
Commit Message
From: Andrew Morton <akpm@linux-foundation.org>
i386 allmodconfig:
drivers/media/video/pms.c: In function 'pms_querycap':
drivers/media/video/pms.c:682: error: implicit declaration of function 'KERNEL_VERSION'
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/media/video/pms.c | 1 +
1 file changed, 1 insertion(+)
Comments
akpm@linux-foundation.org wrote:
> From: Andrew Morton <akpm@linux-foundation.org>
>
> i386 allmodconfig:
>
> drivers/media/video/pms.c: In function 'pms_querycap':
> drivers/media/video/pms.c:682: error: implicit declaration of function 'KERNEL_VERSION'
> @@ -24,6 +24,7 @@
> #include <linux/delay.h>
> #include <linux/errno.h>
> #include <linux/fs.h>
> +#include <linux/version.h>
> #include <linux/kernel.h>
> #include <linux/slab.h>
> #include <linux/mm.h>
Hmm... changeset feba2f81 already added linux/version.h:
@@ -27,20 +29,21 @@
#include <linux/mm.h>
#include <linux/ioport.h>
#include <linux/init.h>
+#include <linux/version.h>
+#include <linux/mutex.h>
+#include <asm/uaccess.h>
#include <asm/io.h>
...
So I think this patch got obsoleted.
Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
@@ -24,6 +24,7 @@
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/fs.h>
+#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/mm.h>