419 |
extern struct ioctl32_mapper rawmidi_mappers[]; |
extern struct ioctl32_mapper rawmidi_mappers[]; |
420 |
extern struct ioctl32_mapper timer_mappers[]; |
extern struct ioctl32_mapper timer_mappers[]; |
421 |
extern struct ioctl32_mapper hwdep_mappers[]; |
extern struct ioctl32_mapper hwdep_mappers[]; |
422 |
#ifdef CONFIG_SND_SEQUENCER |
#if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE)) |
423 |
extern struct ioctl32_mapper seq_mappers[]; |
extern struct ioctl32_mapper seq_mappers[]; |
424 |
#endif |
#endif |
425 |
|
|
426 |
static void snd_ioctl32_done(void) |
static void snd_ioctl32_done(void) |
427 |
{ |
{ |
428 |
#ifdef CONFIG_SND_SEQUENCER |
#if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE)) |
429 |
snd_ioctl32_unregister(seq_mappers); |
snd_ioctl32_unregister(seq_mappers); |
430 |
#endif |
#endif |
431 |
snd_ioctl32_unregister(hwdep_mappers); |
snd_ioctl32_unregister(hwdep_mappers); |
442 |
snd_ioctl32_register(rawmidi_mappers); |
snd_ioctl32_register(rawmidi_mappers); |
443 |
snd_ioctl32_register(timer_mappers); |
snd_ioctl32_register(timer_mappers); |
444 |
snd_ioctl32_register(hwdep_mappers); |
snd_ioctl32_register(hwdep_mappers); |
445 |
#ifdef CONFIG_SND_SEQUENCER |
#if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE)) |
446 |
snd_ioctl32_register(seq_mappers); |
snd_ioctl32_register(seq_mappers); |
447 |
#endif |
#endif |
448 |
return 0; |
return 0; |