return -EIO;
}
-EXPORT_SYMBOL(snd_vx_check_reg_bit);
-
/*
* vx_send_irq_dsp - set command irq bit
* @num: the requested IRQ type, IRQ_XXX
return 0;
}
-EXPORT_SYMBOL(snd_vx_load_boot_image);
-
/*
* vx_test_irq_src - query the source of interrupts
*
return IRQ_HANDLED;
}
-EXPORT_SYMBOL(snd_vx_irq_handler);
/*
*/
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);
}
return 0;
}
-EXPORT_SYMBOL(snd_vx_dsp_boot);
-
/**
* snd_vx_dsp_load - load the DSP image
*/
return 0;
}
-EXPORT_SYMBOL(snd_vx_dsp_load);
-
#ifdef CONFIG_PM
/*
* suspend
return 0;
}
-EXPORT_SYMBOL(snd_vx_suspend);
-
/*
* resume
*/
return 0;
}
-EXPORT_SYMBOL(snd_vx_resume);
#endif
/**
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;
return chip;
}
-EXPORT_SYMBOL(snd_vx_create);
-
/*
* module entries
*/
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