diff options
Diffstat (limited to 'linux/include/media/v4l2-dev.h')
-rw-r--r-- | linux/include/media/v4l2-dev.h | 4 |
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*); |