linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / sound / drivers / vx / vx_core.c
index a601682..43f615d 100644 (file)
@@ -70,8 +70,6 @@ int snd_vx_check_reg_bit(struct vx_core *chip, int reg, int mask, int bit, int t
        return -EIO;
 }
 
-EXPORT_SYMBOL(snd_vx_check_reg_bit);
-
 /*
  * vx_send_irq_dsp - set command irq bit
  * @num: the requested IRQ type, IRQ_XXX
@@ -467,8 +465,6 @@ int snd_vx_load_boot_image(struct vx_core *chip, const struct firmware *boot)
        return 0;
 }
 
-EXPORT_SYMBOL(snd_vx_load_boot_image);
-
 /*
  * vx_test_irq_src - query the source of interrupts
  *
@@ -549,7 +545,6 @@ irqreturn_t snd_vx_irq_handler(int irq, void *dev, struct pt_regs *regs)
        return IRQ_HANDLED;
 }
 
-EXPORT_SYMBOL(snd_vx_irq_handler);
 
 /*
  */
@@ -640,7 +635,7 @@ static void vx_proc_init(struct vx_core *chip)
        struct snd_info_entry *entry;
 
        if (! snd_card_proc_new(chip->card, "vx-status", &entry))
-               snd_info_set_text_ops(entry, chip, vx_proc_read);
+               snd_info_set_text_ops(entry, chip, 1024, vx_proc_read);
 }
 
 
@@ -662,8 +657,6 @@ int snd_vx_dsp_boot(struct vx_core *chip, const struct firmware *boot)
        return 0;
 }
 
-EXPORT_SYMBOL(snd_vx_dsp_boot);
-
 /**
  * snd_vx_dsp_load - load the DSP image
  */
@@ -712,8 +705,6 @@ int snd_vx_dsp_load(struct vx_core *chip, const struct firmware *dsp)
        return 0;
 }
 
-EXPORT_SYMBOL(snd_vx_dsp_load);
-
 #ifdef CONFIG_PM
 /*
  * suspend
@@ -730,8 +721,6 @@ int snd_vx_suspend(struct vx_core *chip, pm_message_t state)
        return 0;
 }
 
-EXPORT_SYMBOL(snd_vx_suspend);
-
 /*
  * resume
  */
@@ -758,7 +747,6 @@ int snd_vx_resume(struct vx_core *chip)
        return 0;
 }
 
-EXPORT_SYMBOL(snd_vx_resume);
 #endif
 
 /**
@@ -790,7 +778,7 @@ struct vx_core *snd_vx_create(struct snd_card *card, struct snd_vx_hardware *hw,
        chip->type = hw->type;
        chip->ops = ops;
        tasklet_init(&chip->tq, vx_interrupt, (unsigned long)chip);
-       mutex_init(&chip->mixer_mutex);
+       init_MUTEX(&chip->mixer_mutex);
 
        chip->card = card;
        card->private_data = chip;
@@ -802,8 +790,6 @@ struct vx_core *snd_vx_create(struct snd_card *card, struct snd_vx_hardware *hw,
        return chip;
 }
 
-EXPORT_SYMBOL(snd_vx_create);
-
 /*
  * module entries
  */
@@ -818,3 +804,19 @@ static void __exit alsa_vx_core_exit(void)
 
 module_init(alsa_vx_core_init)
 module_exit(alsa_vx_core_exit)
+
+/*
+ * exports
+ */
+EXPORT_SYMBOL(snd_vx_check_reg_bit);
+EXPORT_SYMBOL(snd_vx_create);
+EXPORT_SYMBOL(snd_vx_setup_firmware);
+EXPORT_SYMBOL(snd_vx_free_firmware);
+EXPORT_SYMBOL(snd_vx_irq_handler);
+EXPORT_SYMBOL(snd_vx_dsp_boot);
+EXPORT_SYMBOL(snd_vx_dsp_load);
+EXPORT_SYMBOL(snd_vx_load_boot_image);
+#ifdef CONFIG_PM
+EXPORT_SYMBOL(snd_vx_suspend);
+EXPORT_SYMBOL(snd_vx_resume);
+#endif