[ALSA] Remove xxx_t typedefs: PCI emu10k1
Modules: EMU10K1/EMU10K2 driver Remove xxx_t typedefs from the PCI emu10k1 driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
此提交包含在:
@@ -35,14 +35,15 @@
|
||||
* allocate a sample block and copy data from userspace
|
||||
*/
|
||||
int
|
||||
snd_emu10k1_sample_new(snd_emux_t *rec, snd_sf_sample_t *sp,
|
||||
snd_util_memhdr_t *hdr, const void __user *data, long count)
|
||||
snd_emu10k1_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp,
|
||||
struct snd_util_memhdr *hdr,
|
||||
const void __user *data, long count)
|
||||
{
|
||||
int offset;
|
||||
int truesize, size, loopsize, blocksize;
|
||||
int loopend, sampleend;
|
||||
unsigned int start_addr;
|
||||
emu10k1_t *emu;
|
||||
struct snd_emu10k1 *emu;
|
||||
|
||||
emu = rec->hw;
|
||||
snd_assert(sp != NULL, return -EINVAL);
|
||||
@@ -205,10 +206,10 @@ snd_emu10k1_sample_new(snd_emux_t *rec, snd_sf_sample_t *sp,
|
||||
* free a sample block
|
||||
*/
|
||||
int
|
||||
snd_emu10k1_sample_free(snd_emux_t *rec, snd_sf_sample_t *sp,
|
||||
snd_util_memhdr_t *hdr)
|
||||
snd_emu10k1_sample_free(struct snd_emux *rec, struct snd_sf_sample *sp,
|
||||
struct snd_util_memhdr *hdr)
|
||||
{
|
||||
emu10k1_t *emu;
|
||||
struct snd_emu10k1 *emu;
|
||||
|
||||
emu = rec->hw;
|
||||
snd_assert(sp != NULL, return -EINVAL);
|
||||
|
新增問題並參考
封鎖使用者