Changeset 250 for GPL/branches/alsa-resync1/alsa-kernel/pci/sonicvibes.c
- Timestamp:
- Aug 27, 2007, 7:41:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/alsa-resync1/alsa-kernel/pci/sonicvibes.c
r246 r250 260 260 snd_kcontrol_t *master_volume; 261 261 262 #if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE)262 #if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE)) 263 263 struct gameport gameport; 264 264 #endif … … 1194 1194 static int snd_sonicvibes_free(sonicvibes_t *sonic) 1195 1195 { 1196 #if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE)1196 #if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE)) 1197 1197 if (sonic->gameport.io) 1198 1198 gameport_unregister_port(&sonic->gameport); … … 1498 1498 return err; 1499 1499 } 1500 #if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE)1500 #if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE)) 1501 1501 sonic->gameport.io = sonic->game_port; 1502 1502 gameport_register_port(&sonic->gameport);
Note:
See TracChangeset
for help on using the changeset viewer.