diff options
-rw-r--r-- | linux/drivers/media/video/ivtv/ivtv-driver.h | 2 | ||||
-rw-r--r-- | linux/include/linux/ivtv.h (renamed from linux/include/media/ivtv.h) | 11 |
2 files changed, 10 insertions, 3 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-driver.h b/linux/drivers/media/video/ivtv/ivtv-driver.h index 38e52e6a6..592b03fe9 100644 --- a/linux/drivers/media/video/ivtv/ivtv-driver.h +++ b/linux/drivers/media/video/ivtv/ivtv-driver.h @@ -65,7 +65,7 @@ #include <media/tuner.h> #include <media/cx2341x.h> -#include <media/ivtv.h> +#include <linux/ivtv.h> #if 0 #define HAVE_XC2028 1 diff --git a/linux/include/media/ivtv.h b/linux/include/linux/ivtv.h index 412b48ea8..794b8daa9 100644 --- a/linux/include/media/ivtv.h +++ b/linux/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 |