]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (6123): ivtv: move ivtv.h public header to include/linux
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 26 Aug 2007 09:13:04 +0000 (06:13 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:07:28 +0000 (22:07 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-driver.h
include/linux/ivtv.h [moved from include/media/ivtv.h with 93% similarity]

index 32dfc7a859fa76029b73055706f56ecc4607a700..3bda1df63cb62d8c8567bb5690999b60b7f8bfd4 100644 (file)
@@ -62,7 +62,7 @@
 #include <media/tuner.h>
 #include <media/cx2341x.h>
 
-#include <media/ivtv.h>
+#include <linux/ivtv.h>
 
 
 /* Memory layout */
similarity index 93%
rename from include/media/ivtv.h
rename to include/linux/ivtv.h
index 412b48ea8eda3bf219e29eae1a3877ab5bec90a5..794b8daa9378e6647064f34174b6849ba50bb2a8 100644 (file)
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#ifndef _LINUX_IVTV_H
-#define _LINUX_IVTV_H
+#ifndef __LINUX_IVTV_H__
+#define __LINUX_IVTV_H__
+
+#ifdef __KERNEL__
+#include <linux/compiler.h> /* need __user */
+#else
+#define __user
+#endif
+#include <linux/types.h>
 
 /* ivtv knows several distinct output modes: MPEG streaming,
    YUV streaming, YUV updates through user DMA and the passthrough