diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-17 16:48:19 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-17 16:48:19 +0200 |
commit | 7b7b6e145e1bf05cdf3e5d82e8f30b288ad9e15a (patch) | |
tree | ecd9ae302f0c652aca56f7716b26d143c475b686 /linux/include | |
parent | 3d482117ca1f1846a019f59f91466eb5f3306671 (diff) | |
download | mediapointer-dvb-s2-7b7b6e145e1bf05cdf3e5d82e8f30b288ad9e15a.tar.gz mediapointer-dvb-s2-7b7b6e145e1bf05cdf3e5d82e8f30b288ad9e15a.tar.bz2 |
videodev/dabusb/dvbdev: fix 2.6.16 compilation
From: Hans Verkuil <hverkuil@xs4all.nl>
struct file_operations was made const in 2.6.17. Cast const away when compiling
under 2.6.16.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/media/v4l2-dev.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/include/media/v4l2-dev.h b/linux/include/media/v4l2-dev.h index aa0fd8c94..2d68db550 100644 --- a/linux/include/media/v4l2-dev.h +++ b/linux/include/media/v4l2-dev.h @@ -85,11 +85,7 @@ extern long v4l_compat_ioctl32(struct file *file, unsigned int cmd, struct video_device { /* device ops */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) const struct file_operations *fops; -#else - struct file_operations *fops; -#endif /* sysfs */ struct device class_dev; /* v4l device */ |