]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/media/radio/miropcm20-radio.c
Pull virt-cpu-accounting into release branch
[mv-sheeva.git] / drivers / media / radio / miropcm20-radio.c
index 7765c6a0cfe67fcc2e9631a1d24f1f5cad7e3a95..3ae56fef8c92f58ce4d2b2123606b795e0adf503 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/videodev.h>
+#include <media/v4l2-common.h>
 #include "oss/aci.h"
 #include "miropcm20-rds-core.h"
 
@@ -215,7 +216,7 @@ static struct pcm20_device pcm20_unit = {
        .muted  = 1,
 };
 
-static struct file_operations pcm20_fops = {
+static const struct file_operations pcm20_fops = {
        .owner          = THIS_MODULE,
        .open           = video_exclusive_open,
        .release        = video_exclusive_release,
@@ -228,7 +229,6 @@ static struct video_device pcm20_radio = {
        .owner          = THIS_MODULE,
        .name           = "Miro PCM 20 radio",
        .type           = VID_TYPE_TUNER,
-       .hardware       = VID_HARDWARE_RTRACK,
        .fops           = &pcm20_fops,
        .priv           = &pcm20_unit
 };