]> err.no Git - linux-2.6/blobdiff - include/sound/tea575x-tuner.h
[S390] Change vmalloc defintions
[linux-2.6] / include / sound / tea575x-tuner.h
index ad3c3be33c0391ddb3a0b613c8e8f0dab6cd4b0c..e8eeb3a1ed291fd0aae971cf45d1ced075785bce 100644 (file)
@@ -4,7 +4,7 @@
 /*
  *   ALSA driver for TEA5757/5759 Philips AM/FM tuner chips
  *
- *     Copyright (c) 2004 Jaroslav Kysela <perex@suse.cz>
+ *     Copyright (c) 2004 Jaroslav Kysela <perex@perex.cz>
  *
  *   This program is free software; you can redistribute it and/or modify
  *   it under the terms of the GNU General Public License as published by
  *   along with this program; if not, write to the Free Software
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  *
- */      
+ */
 
 #include <linux/videodev.h>
+#include <media/v4l2-dev.h>
 
-typedef struct snd_tea575x tea575x_t;
+struct snd_tea575x;
 
 struct snd_tea575x_ops {
-       void (*write)(tea575x_t *tea, unsigned int val);
-       unsigned int (*read)(tea575x_t *tea);
+       void (*write)(struct snd_tea575x *tea, unsigned int val);
+       unsigned int (*read)(struct snd_tea575x *tea);
 };
 
 struct snd_tea575x {
-       snd_card_t *card;
+       struct snd_card *card;
        struct video_device vd;         /* video device */
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 0)
        struct file_operations fops;
-#endif
        int dev_nr;                     /* requested device number + 1 */
        int vd_registered;              /* video device is registered */
        int tea5759;                    /* 5759 chip is present */
@@ -47,7 +46,7 @@ struct snd_tea575x {
        void *private_data;
 };
 
-void snd_tea575x_init(tea575x_t *tea);
-void snd_tea575x_exit(tea575x_t *tea);
+void snd_tea575x_init(struct snd_tea575x *tea);
+void snd_tea575x_exit(struct snd_tea575x *tea);
 
 #endif /* __SOUND_TEA575X_TUNER_H */