]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/radio/miropcm20-rds.c
Merge branches 'release' and 'throttling-domains' into release
[linux-2.6-omap-h63xx.git] / drivers / media / radio / miropcm20-rds.c
index 87b37b7691dad387cd082b10c030b9c0829947f3..aed11477378bd5bf018a9d7a4eec1e9c960ca86e 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/slab.h>
 #include <linux/fs.h>
 #include <linux/miscdevice.h>
-#include <linux/sched.h>       /* current, TASK_*, schedule_timeout() */
 #include <linux/delay.h>
 #include <asm/uaccess.h>
 #include "miropcm20-rds-core.h"
@@ -105,7 +104,7 @@ static ssize_t rds_f_read(struct file *file, char __user *buffer, size_t length,
        }
 }
 
-static struct file_operations rds_fops = {
+static const struct file_operations rds_fops = {
        .owner          = THIS_MODULE,
        .read           = rds_f_read,
        .open           = rds_f_open,
@@ -115,7 +114,6 @@ static struct file_operations rds_fops = {
 static struct miscdevice rds_miscdev = {
        .minor          = MISC_DYNAMIC_MINOR,
        .name           = "radiotext",
-       .devfs_name     = "v4l/rds/radiotext",
        .fops           = &rds_fops,
 };