diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 08:50:13 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:18:47 -0500 |
commit | eb4698f347ec908c365504c4edddadd1acd406ea (patch) | |
tree | 4962019c8bf4a52e35ab55137e17aa150edf9661 /sound/pci/emu10k1/emu10k1_synth.c | |
parent | 3d19f804ef5f1d15fe001fc8d1ed58fac9d591fb (diff) |
[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>
Diffstat (limited to 'sound/pci/emu10k1/emu10k1_synth.c')
-rw-r--r-- | sound/pci/emu10k1/emu10k1_synth.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/sound/pci/emu10k1/emu10k1_synth.c b/sound/pci/emu10k1/emu10k1_synth.c index 8bd58d1dcc26..1fa393f22a99 100644 --- a/sound/pci/emu10k1/emu10k1_synth.c +++ b/sound/pci/emu10k1/emu10k1_synth.c | |||
@@ -28,11 +28,11 @@ MODULE_LICENSE("GPL"); | |||
28 | /* | 28 | /* |
29 | * create a new hardware dependent device for Emu10k1 | 29 | * create a new hardware dependent device for Emu10k1 |
30 | */ | 30 | */ |
31 | static int snd_emu10k1_synth_new_device(snd_seq_device_t *dev) | 31 | static int snd_emu10k1_synth_new_device(struct snd_seq_device *dev) |
32 | { | 32 | { |
33 | snd_emux_t *emu; | 33 | struct snd_emux *emu; |
34 | emu10k1_t *hw; | 34 | struct snd_emu10k1 *hw; |
35 | snd_emu10k1_synth_arg_t *arg; | 35 | struct snd_emu10k1_synth_arg *arg; |
36 | unsigned long flags; | 36 | unsigned long flags; |
37 | 37 | ||
38 | arg = SNDRV_SEQ_DEVICE_ARGPTR(dev); | 38 | arg = SNDRV_SEQ_DEVICE_ARGPTR(dev); |
@@ -76,10 +76,10 @@ static int snd_emu10k1_synth_new_device(snd_seq_device_t *dev) | |||
76 | return 0; | 76 | return 0; |
77 | } | 77 | } |
78 | 78 | ||
79 | static int snd_emu10k1_synth_delete_device(snd_seq_device_t *dev) | 79 | static int snd_emu10k1_synth_delete_device(struct snd_seq_device *dev) |
80 | { | 80 | { |
81 | snd_emux_t *emu; | 81 | struct snd_emux *emu; |
82 | emu10k1_t *hw; | 82 | struct snd_emu10k1 *hw; |
83 | unsigned long flags; | 83 | unsigned long flags; |
84 | 84 | ||
85 | if (dev->driver_data == NULL) | 85 | if (dev->driver_data == NULL) |
@@ -104,11 +104,12 @@ static int snd_emu10k1_synth_delete_device(snd_seq_device_t *dev) | |||
104 | static int __init alsa_emu10k1_synth_init(void) | 104 | static int __init alsa_emu10k1_synth_init(void) |
105 | { | 105 | { |
106 | 106 | ||
107 | static snd_seq_dev_ops_t ops = { | 107 | static struct snd_seq_dev_ops ops = { |
108 | snd_emu10k1_synth_new_device, | 108 | snd_emu10k1_synth_new_device, |
109 | snd_emu10k1_synth_delete_device, | 109 | snd_emu10k1_synth_delete_device, |
110 | }; | 110 | }; |
111 | return snd_seq_device_register_driver(SNDRV_SEQ_DEV_ID_EMU10K1_SYNTH, &ops, sizeof(snd_emu10k1_synth_arg_t)); | 111 | return snd_seq_device_register_driver(SNDRV_SEQ_DEV_ID_EMU10K1_SYNTH, &ops, |
112 | sizeof(struct snd_emu10k1_synth_arg)); | ||
112 | } | 113 | } |
113 | 114 | ||
114 | static void __exit alsa_emu10k1_synth_exit(void) | 115 | static void __exit alsa_emu10k1_synth_exit(void) |