aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.h2
-rw-r--r--include/linux/ivtv.h (renamed from include/media/ivtv.h)11
2 files changed, 10 insertions, 3 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.h b/drivers/media/video/ivtv/ivtv-driver.h
index 32dfc7a859fa..3bda1df63cb6 100644
--- a/drivers/media/video/ivtv/ivtv-driver.h
+++ b/drivers/media/video/ivtv/ivtv-driver.h
@@ -62,7 +62,7 @@
62#include <media/tuner.h> 62#include <media/tuner.h>
63#include <media/cx2341x.h> 63#include <media/cx2341x.h>
64 64
65#include <media/ivtv.h> 65#include <linux/ivtv.h>
66 66
67 67
68/* Memory layout */ 68/* Memory layout */
diff --git a/include/media/ivtv.h b/include/linux/ivtv.h
index 412b48ea8eda..794b8daa9378 100644
--- a/include/media/ivtv.h
+++ b/include/linux/ivtv.h
@@ -18,8 +18,15 @@
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */ 19 */
20 20
21#ifndef _LINUX_IVTV_H 21#ifndef __LINUX_IVTV_H__
22#define _LINUX_IVTV_H 22#define __LINUX_IVTV_H__
23
24#ifdef __KERNEL__
25#include <linux/compiler.h> /* need __user */
26#else
27#define __user
28#endif
29#include <linux/types.h>
23 30
24/* ivtv knows several distinct output modes: MPEG streaming, 31/* ivtv knows several distinct output modes: MPEG streaming,
25 YUV streaming, YUV updates through user DMA and the passthrough 32 YUV streaming, YUV updates through user DMA and the passthrough