فهرست منبع

V4L/DVB (6123): ivtv: move ivtv.h public header to include/linux

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Hans Verkuil 17 سال پیش
والد
کامیت
51b39dfa54
2فایلهای تغییر یافته به همراه10 افزوده شده و 3 حذف شده
  1. 1 1
      drivers/media/video/ivtv/ivtv-driver.h
  2. 9 2
      include/linux/ivtv.h

+ 1 - 1
drivers/media/video/ivtv/ivtv-driver.h

@@ -62,7 +62,7 @@
 #include <media/tuner.h>
 #include <media/cx2341x.h>
 
-#include <media/ivtv.h>
+#include <linux/ivtv.h>
 
 
 /* Memory layout */

+ 9 - 2
include/media/ivtv.h → include/linux/ivtv.h

@@ -18,8 +18,15 @@
     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