summaryrefslogtreecommitdiff
path: root/linux/drivers/media/radio
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-07-17 19:37:10 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-07-17 19:37:10 +0200
commit7916505c8d60e3616b033889debffd5fb280780f (patch)
tree21bf70e56de0b8e9b5b85832738864066b451d5f /linux/drivers/media/radio
parentad2b972483262f7b5865dbfc824303de2c82b3aa (diff)
downloadmediapointer-dvb-s2-7916505c8d60e3616b033889debffd5fb280780f.tar.gz
mediapointer-dvb-s2-7916505c8d60e3616b033889debffd5fb280780f.tar.bz2
btaudio/tvmixer/miropcm20-rds: fix 2.6.16 compilation
From: Hans Verkuil <hverkuil@xs4all.nl> Missed a few warnings, this patch fixes them. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/radio')
-rw-r--r--linux/drivers/media/radio/miropcm20-rds.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/radio/miropcm20-rds.c b/linux/drivers/media/radio/miropcm20-rds.c
index 06dfed9ef..295381795 100644
--- a/linux/drivers/media/radio/miropcm20-rds.c
+++ b/linux/drivers/media/radio/miropcm20-rds.c
@@ -104,7 +104,11 @@ static ssize_t rds_f_read(struct file *file, char __user *buffer, size_t length,
}
}
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 17)
static const struct file_operations rds_fops = {
+#else
+static struct file_operations rds_fops = {
+#endif
.owner = THIS_MODULE,
.read = rds_f_read,
.open = rds_f_open,