/[openvortex]/alsa/alsa-kernel/drivers/opl4/opl4_lib.c
ViewVC logotype

Diff of /alsa/alsa-kernel/drivers/opl4/opl4_lib.c

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

revision 1.1 by vizard, Sun Jun 15 21:01:31 2003 UTC revision 1.2 by vizard, Mon Aug 11 00:06:39 2003 UTC
# Line 20  Line 20 
20  #include "opl4_local.h"  #include "opl4_local.h"
21  #include <sound/initval.h>  #include <sound/initval.h>
22  #include <linux/ioport.h>  #include <linux/ioport.h>
23    #include <linux/init.h>
24  #include <asm/io.h>  #include <asm/io.h>
25    
26  MODULE_AUTHOR("Clemens Ladisch <clemens@ladisch.de>");  MODULE_AUTHOR("Clemens Ladisch <clemens@ladisch.de>");
# Line 137  static int snd_opl4_detect(opl4_t *opl4) Line 138  static int snd_opl4_detect(opl4_t *opl4)
138          return 0;          return 0;
139  }  }
140    
141  #if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE)  #if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE))
142  static void snd_opl4_seq_dev_free(snd_seq_device_t *seq_dev)  static void snd_opl4_seq_dev_free(snd_seq_device_t *seq_dev)
143  {  {
144          opl4_t *opl4 = snd_magic_cast(opl4_t, seq_dev->private_data, return);          opl4_t *opl4 = snd_magic_cast(opl4_t, seq_dev->private_data, return);
# Line 243  int snd_opl4_create(snd_card_t *card, Line 244  int snd_opl4_create(snd_card_t *card,
244          snd_opl4_create_proc(opl4);          snd_opl4_create_proc(opl4);
245  #endif  #endif
246    
247  #if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE)  #if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE))
248          opl4->seq_client = -1;          opl4->seq_client = -1;
249          if (opl4->hardware < OPL3_HW_OPL4_ML)          if (opl4->hardware < OPL3_HW_OPL4_ML)
250                  snd_opl4_create_seq_dev(opl4, seq_device);                  snd_opl4_create_seq_dev(opl4, seq_device);

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

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