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:33:01 -0400 |
commit | fa325eb3afc3cdaf7fba6ee3eaf05b243f5614a3 (patch) | |
tree | f962e3a98b87bac02d7d7d567329a0fef215836b | |
parent | 95ff17564b6db34cad0cd67678fb79174e77531e (diff) |
[ALSA] vx - 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>
-rw-r--r-- | sound/drivers/vx/vx_core.c | 30 | ||||
-rw-r--r-- | sound/drivers/vx/vx_hwdep.c | 3 |
2 files changed, 17 insertions, 16 deletions
diff --git a/sound/drivers/vx/vx_core.c b/sound/drivers/vx/vx_core.c index fa4a2b5c2d8d..e1c3dda15774 100644 --- a/sound/drivers/vx/vx_core.c +++ b/sound/drivers/vx/vx_core.c | |||
@@ -70,6 +70,8 @@ int snd_vx_check_reg_bit(struct vx_core *chip, int reg, int mask, int bit, int t | |||
70 | return -EIO; | 70 | return -EIO; |
71 | } | 71 | } |
72 | 72 | ||
73 | EXPORT_SYMBOL(snd_vx_check_reg_bit); | ||
74 | |||
73 | /* | 75 | /* |
74 | * vx_send_irq_dsp - set command irq bit | 76 | * vx_send_irq_dsp - set command irq bit |
75 | * @num: the requested IRQ type, IRQ_XXX | 77 | * @num: the requested IRQ type, IRQ_XXX |
@@ -465,6 +467,8 @@ int snd_vx_load_boot_image(struct vx_core *chip, const struct firmware *boot) | |||
465 | return 0; | 467 | return 0; |
466 | } | 468 | } |
467 | 469 | ||
470 | EXPORT_SYMBOL(snd_vx_load_boot_image); | ||
471 | |||
468 | /* | 472 | /* |
469 | * vx_test_irq_src - query the source of interrupts | 473 | * vx_test_irq_src - query the source of interrupts |
470 | * | 474 | * |
@@ -545,6 +549,7 @@ irqreturn_t snd_vx_irq_handler(int irq, void *dev, struct pt_regs *regs) | |||
545 | return IRQ_HANDLED; | 549 | return IRQ_HANDLED; |
546 | } | 550 | } |
547 | 551 | ||
552 | EXPORT_SYMBOL(snd_vx_irq_handler); | ||
548 | 553 | ||
549 | /* | 554 | /* |
550 | */ | 555 | */ |
@@ -657,6 +662,8 @@ int snd_vx_dsp_boot(struct vx_core *chip, const struct firmware *boot) | |||
657 | return 0; | 662 | return 0; |
658 | } | 663 | } |
659 | 664 | ||
665 | EXPORT_SYMBOL(snd_vx_dsp_boot); | ||
666 | |||
660 | /** | 667 | /** |
661 | * snd_vx_dsp_load - load the DSP image | 668 | * snd_vx_dsp_load - load the DSP image |
662 | */ | 669 | */ |
@@ -705,6 +712,8 @@ int snd_vx_dsp_load(struct vx_core *chip, const struct firmware *dsp) | |||
705 | return 0; | 712 | return 0; |
706 | } | 713 | } |
707 | 714 | ||
715 | EXPORT_SYMBOL(snd_vx_dsp_load); | ||
716 | |||
708 | #ifdef CONFIG_PM | 717 | #ifdef CONFIG_PM |
709 | /* | 718 | /* |
710 | * suspend | 719 | * suspend |
@@ -721,6 +730,8 @@ int snd_vx_suspend(struct vx_core *chip, pm_message_t state) | |||
721 | return 0; | 730 | return 0; |
722 | } | 731 | } |
723 | 732 | ||
733 | EXPORT_SYMBOL(snd_vx_suspend); | ||
734 | |||
724 | /* | 735 | /* |
725 | * resume | 736 | * resume |
726 | */ | 737 | */ |
@@ -747,6 +758,7 @@ int snd_vx_resume(struct vx_core *chip) | |||
747 | return 0; | 758 | return 0; |
748 | } | 759 | } |
749 | 760 | ||
761 | EXPORT_SYMBOL(snd_vx_resume); | ||
750 | #endif | 762 | #endif |
751 | 763 | ||
752 | /** | 764 | /** |
@@ -790,6 +802,8 @@ struct vx_core *snd_vx_create(struct snd_card *card, struct snd_vx_hardware *hw, | |||
790 | return chip; | 802 | return chip; |
791 | } | 803 | } |
792 | 804 | ||
805 | EXPORT_SYMBOL(snd_vx_create); | ||
806 | |||
793 | /* | 807 | /* |
794 | * module entries | 808 | * module entries |
795 | */ | 809 | */ |
@@ -804,19 +818,3 @@ static void __exit alsa_vx_core_exit(void) | |||
804 | 818 | ||
805 | module_init(alsa_vx_core_init) | 819 | module_init(alsa_vx_core_init) |
806 | module_exit(alsa_vx_core_exit) | 820 | module_exit(alsa_vx_core_exit) |
807 | |||
808 | /* | ||
809 | * exports | ||
810 | */ | ||
811 | EXPORT_SYMBOL(snd_vx_check_reg_bit); | ||
812 | EXPORT_SYMBOL(snd_vx_create); | ||
813 | EXPORT_SYMBOL(snd_vx_setup_firmware); | ||
814 | EXPORT_SYMBOL(snd_vx_free_firmware); | ||
815 | EXPORT_SYMBOL(snd_vx_irq_handler); | ||
816 | EXPORT_SYMBOL(snd_vx_dsp_boot); | ||
817 | EXPORT_SYMBOL(snd_vx_dsp_load); | ||
818 | EXPORT_SYMBOL(snd_vx_load_boot_image); | ||
819 | #ifdef CONFIG_PM | ||
820 | EXPORT_SYMBOL(snd_vx_suspend); | ||
821 | EXPORT_SYMBOL(snd_vx_resume); | ||
822 | #endif | ||
diff --git a/sound/drivers/vx/vx_hwdep.c b/sound/drivers/vx/vx_hwdep.c index d837783fb538..e1920af4501d 100644 --- a/sound/drivers/vx/vx_hwdep.c +++ b/sound/drivers/vx/vx_hwdep.c | |||
@@ -250,3 +250,6 @@ void snd_vx_free_firmware(struct vx_core *chip) | |||
250 | } | 250 | } |
251 | 251 | ||
252 | #endif /* SND_VX_FW_LOADER */ | 252 | #endif /* SND_VX_FW_LOADER */ |
253 | |||
254 | EXPORT_SYMBOL(snd_vx_setup_firmware); | ||
255 | EXPORT_SYMBOL(snd_vx_free_firmware); | ||