From 123090ea182d1a2988c625d86fd15e1deb1a9efa Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 23 Jul 2006 19:53:24 -0300 Subject: V4L2 conversion: radio-maestro From: Mauro Carvalho Chehab Driver conversion to V4L2 API. Require some testing, since I don't have such hardware Signed-off-by: Mauro Carvalho Chehab --- linux/include/media/v4l2-dev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/include') 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*); -- cgit v1.2.3