/[openvortex]/alsa/alsa-kernel/pci/sonicvibes.c
ViewVC logotype

Diff of /alsa/alsa-kernel/pci/sonicvibes.c

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

revision 1.2 by vizard, Sat May 31 02:35:11 2003 UTC revision 1.3 by vizard, Mon Aug 11 00:06:39 2003 UTC
# Line 254  struct _snd_sonicvibes { Line 254  struct _snd_sonicvibes {
254          snd_kcontrol_t *master_mute;          snd_kcontrol_t *master_mute;
255          snd_kcontrol_t *master_volume;          snd_kcontrol_t *master_volume;
256    
257  #if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE)  #if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE))
258          struct gameport gameport;          struct gameport gameport;
259  #endif  #endif
260  };  };
# Line 1189  SONICVIBES_SINGLE("Joystick Speed", 0, S Line 1189  SONICVIBES_SINGLE("Joystick Speed", 0, S
1189    
1190  static int snd_sonicvibes_free(sonicvibes_t *sonic)  static int snd_sonicvibes_free(sonicvibes_t *sonic)
1191  {  {
1192  #if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE)  #if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE))
1193          if (sonic->gameport.io)          if (sonic->gameport.io)
1194                  gameport_unregister_port(&sonic->gameport);                  gameport_unregister_port(&sonic->gameport);
1195  #endif  #endif
# Line 1493  static int __devinit snd_sonic_probe(str Line 1493  static int __devinit snd_sonic_probe(str
1493                  snd_card_free(card);                  snd_card_free(card);
1494                  return err;                  return err;
1495          }          }
1496  #if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE)  #if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE))
1497          sonic->gameport.io = sonic->game_port;          sonic->gameport.io = sonic->game_port;
1498          gameport_register_port(&sonic->gameport);          gameport_register_port(&sonic->gameport);
1499  #endif  #endif

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