ALSA: info - Use standard types for info callbacks
[safe/jmp/linux-2.6] / sound / pci / cs46xx / cs46xx_lib.c
index 3f99a5e..08117b1 100644 (file)
@@ -2657,9 +2657,10 @@ static inline void snd_cs46xx_remove_gameport(struct snd_cs46xx *chip) { }
  *  proc interface
  */
 
-static long snd_cs46xx_io_read(struct snd_info_entry *entry, void *file_private_data,
-                              struct file *file, char __user *buf,
-                              unsigned long count, unsigned long pos)
+static ssize_t snd_cs46xx_io_read(struct snd_info_entry *entry,
+                                 void *file_private_data,
+                                 struct file *file, char __user *buf,
+                                 size_t count, loff_t pos)
 {
        long size;
        struct snd_cs46xx_region *region = entry->private_data;