/[openvortex]/alsa/alsa-kernel/core/oss/pcm_oss.c
ViewVC logotype

Diff of /alsa/alsa-kernel/core/oss/pcm_oss.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by vizard, Sat May 31 02:35:10 2003 UTC revision 1.3 by vizard, Sun Jun 15 21:01:30 2003 UTC
# Line 1981  static int snd_pcm_oss_mmap(struct file Line 1981  static int snd_pcm_oss_mmap(struct file
1981          if (runtime->oss.plugin_first != NULL)          if (runtime->oss.plugin_first != NULL)
1982                  return -EIO;                  return -EIO;
1983    
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 3, 25)  
1984          if (area->vm_pgoff != 0)          if (area->vm_pgoff != 0)
 #else  
         if (area->vm_offset != 0)  
 #endif  
1985                  return -EINVAL;                  return -EINVAL;
1986    
1987          err = snd_pcm_mmap_data(substream, file, area);          err = snd_pcm_mmap_data(substream, file, area);
# Line 2148  static void snd_pcm_oss_proc_done(snd_pc Line 2144  static void snd_pcm_oss_proc_done(snd_pc
2144    
2145  static struct file_operations snd_pcm_oss_f_reg =  static struct file_operations snd_pcm_oss_f_reg =
2146  {  {
 #ifndef LINUX_2_2  
2147          .owner =        THIS_MODULE,          .owner =        THIS_MODULE,
 #endif  
2148          .read =         snd_pcm_oss_read,          .read =         snd_pcm_oss_read,
2149          .write =        snd_pcm_oss_write,          .write =        snd_pcm_oss_write,
2150          .open =         snd_pcm_oss_open,          .open =         snd_pcm_oss_open,

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26