[media] tea575x-tuner: update to latest V4L2 framework requirements
[linux-3.10.git] / include / sound / tea575x-tuner.h
index 726e947..ec3f910 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/videodev2.h>
 #include <media/v4l2-ctrls.h>
 #include <media/v4l2-dev.h>
+#include <media/v4l2-device.h>
 
 #define TEA575X_FMIF   10700
 
@@ -42,13 +43,16 @@ struct snd_tea575x_ops {
 };
 
 struct snd_tea575x {
+       struct v4l2_device *v4l2_dev;
        struct video_device vd;         /* video device */
+       int radio_nr;                   /* radio_nr */
        bool tea5759;                   /* 5759 chip is present */
+       bool cannot_read_data;          /* Device cannot read the data pin */
        bool mute;                      /* Device is muted? */
        bool stereo;                    /* receiving stereo */
        bool tuned;                     /* tuned to a station */
        unsigned int val;               /* hw value */
-       unsigned long freq;             /* frequency */
+       u32 freq;                       /* frequency */
        struct mutex mutex;
        struct snd_tea575x_ops *ops;
        void *private_data;