summaryrefslogtreecommitdiff
path: root/linux/include
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-07-23 19:53:24 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-07-23 19:53:24 -0300
commit123090ea182d1a2988c625d86fd15e1deb1a9efa (patch)
treef168d9787785374e71ff7b4b50dd7f4fe69a0876 /linux/include
parent2f6f5d40ab05fde5d1ef87f6cf8e0455abbbe3f5 (diff)
downloadmediapointer-dvb-s2-123090ea182d1a2988c625d86fd15e1deb1a9efa.tar.gz
mediapointer-dvb-s2-123090ea182d1a2988c625d86fd15e1deb1a9efa.tar.bz2
V4L2 conversion: radio-maestro
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since I don't have such hardware Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/include')
-rw-r--r--linux/include/media/v4l2-dev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/include/media/v4l2-dev.h b/linux/include/media/v4l2-dev.h
index c9a259b4f..2a55cd41c 100644
--- a/linux/include/media/v4l2-dev.h
+++ b/linux/include/media/v4l2-dev.h
@@ -384,6 +384,8 @@ video_device_remove_file(struct video_device *vfd,
}
#endif
+#endif /* HAVE_V4L1 */
+
#ifdef OBSOLETE_OWNER /* to be removed soon */
/* helper functions to access driver private data. */
static inline void *video_get_drvdata(struct video_device *dev)
@@ -398,8 +400,6 @@ static inline void video_set_drvdata(struct video_device *dev, void *data)
#endif
-#endif /* HAVE_V4L1 */
-
#ifdef OBSOLETE_DEVDATA /* to be removed soon */
/* Obsolete stuff - Still needed for radio devices and obsolete drivers */
extern struct video_device* video_devdata(struct file*);