diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-04-28 09:13:40 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-06-22 15:32:59 -0400 |
commit | cbef55f3d8e4e7efef4703c82302a0021d781483 (patch) | |
tree | 071d499c332187b622ce834a316ef6e89562f3e4 /sound | |
parent | 2dd31deeeb238a4f40c9fc9e219dc210fcbf8765 (diff) |
[ALSA] trident - Move EXPORT_SYMBOL() to adjacent to each function
Move EXPORT_SYMBOL() to adjacent to each exported function/variable.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/trident/trident_main.c | 20 | ||||
-rw-r--r-- | sound/pci/trident/trident_memory.c | 3 |
2 files changed, 13 insertions, 10 deletions
diff --git a/sound/pci/trident/trident_main.c b/sound/pci/trident/trident_main.c index 52178b8ad49d..850579208e49 100644 --- a/sound/pci/trident/trident_main.c +++ b/sound/pci/trident/trident_main.c | |||
@@ -306,6 +306,8 @@ void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice) | |||
306 | outl(mask, TRID_REG(trident, reg)); | 306 | outl(mask, TRID_REG(trident, reg)); |
307 | } | 307 | } |
308 | 308 | ||
309 | EXPORT_SYMBOL(snd_trident_start_voice); | ||
310 | |||
309 | /*--------------------------------------------------------------------------- | 311 | /*--------------------------------------------------------------------------- |
310 | void snd_trident_stop_voice(struct snd_trident * trident, unsigned int voice) | 312 | void snd_trident_stop_voice(struct snd_trident * trident, unsigned int voice) |
311 | 313 | ||
@@ -328,6 +330,8 @@ void snd_trident_stop_voice(struct snd_trident * trident, unsigned int voice) | |||
328 | outl(mask, TRID_REG(trident, reg)); | 330 | outl(mask, TRID_REG(trident, reg)); |
329 | } | 331 | } |
330 | 332 | ||
333 | EXPORT_SYMBOL(snd_trident_stop_voice); | ||
334 | |||
331 | /*--------------------------------------------------------------------------- | 335 | /*--------------------------------------------------------------------------- |
332 | int snd_trident_allocate_pcm_channel(struct snd_trident *trident) | 336 | int snd_trident_allocate_pcm_channel(struct snd_trident *trident) |
333 | 337 | ||
@@ -502,6 +506,8 @@ void snd_trident_write_voice_regs(struct snd_trident * trident, | |||
502 | #endif | 506 | #endif |
503 | } | 507 | } |
504 | 508 | ||
509 | EXPORT_SYMBOL(snd_trident_write_voice_regs); | ||
510 | |||
505 | /*--------------------------------------------------------------------------- | 511 | /*--------------------------------------------------------------------------- |
506 | snd_trident_write_cso_reg | 512 | snd_trident_write_cso_reg |
507 | 513 | ||
@@ -3884,6 +3890,8 @@ struct snd_trident_voice *snd_trident_alloc_voice(struct snd_trident * trident, | |||
3884 | return NULL; | 3890 | return NULL; |
3885 | } | 3891 | } |
3886 | 3892 | ||
3893 | EXPORT_SYMBOL(snd_trident_alloc_voice); | ||
3894 | |||
3887 | void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voice *voice) | 3895 | void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voice *voice) |
3888 | { | 3896 | { |
3889 | unsigned long flags; | 3897 | unsigned long flags; |
@@ -3912,6 +3920,8 @@ void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voi | |||
3912 | private_free(voice); | 3920 | private_free(voice); |
3913 | } | 3921 | } |
3914 | 3922 | ||
3923 | EXPORT_SYMBOL(snd_trident_free_voice); | ||
3924 | |||
3915 | static void snd_trident_clear_voices(struct snd_trident * trident, unsigned short v_min, unsigned short v_max) | 3925 | static void snd_trident_clear_voices(struct snd_trident * trident, unsigned short v_min, unsigned short v_max) |
3916 | { | 3926 | { |
3917 | unsigned int i, val, mask[2] = { 0, 0 }; | 3927 | unsigned int i, val, mask[2] = { 0, 0 }; |
@@ -3993,13 +4003,3 @@ int snd_trident_resume(struct pci_dev *pci) | |||
3993 | return 0; | 4003 | return 0; |
3994 | } | 4004 | } |
3995 | #endif /* CONFIG_PM */ | 4005 | #endif /* CONFIG_PM */ |
3996 | |||
3997 | EXPORT_SYMBOL(snd_trident_alloc_voice); | ||
3998 | EXPORT_SYMBOL(snd_trident_free_voice); | ||
3999 | EXPORT_SYMBOL(snd_trident_start_voice); | ||
4000 | EXPORT_SYMBOL(snd_trident_stop_voice); | ||
4001 | EXPORT_SYMBOL(snd_trident_write_voice_regs); | ||
4002 | /* trident_memory.c symbols */ | ||
4003 | EXPORT_SYMBOL(snd_trident_synth_alloc); | ||
4004 | EXPORT_SYMBOL(snd_trident_synth_free); | ||
4005 | EXPORT_SYMBOL(snd_trident_synth_copy_from_user); | ||
diff --git a/sound/pci/trident/trident_memory.c b/sound/pci/trident/trident_memory.c index 46c6982c9e88..aff3f874131c 100644 --- a/sound/pci/trident/trident_memory.c +++ b/sound/pci/trident/trident_memory.c | |||
@@ -349,6 +349,7 @@ snd_trident_synth_alloc(struct snd_trident *hw, unsigned int size) | |||
349 | return blk; | 349 | return blk; |
350 | } | 350 | } |
351 | 351 | ||
352 | EXPORT_SYMBOL(snd_trident_synth_alloc); | ||
352 | 353 | ||
353 | /* | 354 | /* |
354 | * free a synth sample area | 355 | * free a synth sample area |
@@ -365,6 +366,7 @@ snd_trident_synth_free(struct snd_trident *hw, struct snd_util_memblk *blk) | |||
365 | return 0; | 366 | return 0; |
366 | } | 367 | } |
367 | 368 | ||
369 | EXPORT_SYMBOL(snd_trident_synth_free); | ||
368 | 370 | ||
369 | /* | 371 | /* |
370 | * reset TLB entry and free kernel page | 372 | * reset TLB entry and free kernel page |
@@ -486,3 +488,4 @@ int snd_trident_synth_copy_from_user(struct snd_trident *trident, | |||
486 | return 0; | 488 | return 0; |
487 | } | 489 | } |
488 | 490 | ||
491 | EXPORT_SYMBOL(snd_trident_synth_copy_from_user); | ||