diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 08:46:59 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:18:42 -0500 |
commit | af26367f69a474ed809e4a59abb5855b47daaff4 (patch) | |
tree | 8ee9ec6449b3b51953cda3d546e90c064f963684 /sound/pci/vx222/vx222.c | |
parent | 9f38945fab04a0a0ea50880fa634f9bfa28f6226 (diff) |
[ALSA] Remove xxx_t typedefs: VXdriver
Remove xxx_t typedefs from the VXdriver codes
(vx_core support, vx222 and vxpocket).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/vx222/vx222.c')
-rw-r--r-- | sound/pci/vx222/vx222.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sound/pci/vx222/vx222.c b/sound/pci/vx222/vx222.c index dca6bd2c7580..4ebbabedb3c3 100644 --- a/sound/pci/vx222/vx222.c +++ b/sound/pci/vx222/vx222.c | |||
@@ -108,7 +108,7 @@ static struct snd_vx_hardware vx222_mic_hw = { | |||
108 | 108 | ||
109 | /* | 109 | /* |
110 | */ | 110 | */ |
111 | static int snd_vx222_free(vx_core_t *chip) | 111 | static int snd_vx222_free(struct vx_core *chip) |
112 | { | 112 | { |
113 | struct snd_vx222 *vx = (struct snd_vx222 *)chip; | 113 | struct snd_vx222 *vx = (struct snd_vx222 *)chip; |
114 | 114 | ||
@@ -121,21 +121,21 @@ static int snd_vx222_free(vx_core_t *chip) | |||
121 | return 0; | 121 | return 0; |
122 | } | 122 | } |
123 | 123 | ||
124 | static int snd_vx222_dev_free(snd_device_t *device) | 124 | static int snd_vx222_dev_free(struct snd_device *device) |
125 | { | 125 | { |
126 | vx_core_t *chip = device->device_data; | 126 | struct vx_core *chip = device->device_data; |
127 | return snd_vx222_free(chip); | 127 | return snd_vx222_free(chip); |
128 | } | 128 | } |
129 | 129 | ||
130 | 130 | ||
131 | static int __devinit snd_vx222_create(snd_card_t *card, struct pci_dev *pci, | 131 | static int __devinit snd_vx222_create(struct snd_card *card, struct pci_dev *pci, |
132 | struct snd_vx_hardware *hw, | 132 | struct snd_vx_hardware *hw, |
133 | struct snd_vx222 **rchip) | 133 | struct snd_vx222 **rchip) |
134 | { | 134 | { |
135 | vx_core_t *chip; | 135 | struct vx_core *chip; |
136 | struct snd_vx222 *vx; | 136 | struct snd_vx222 *vx; |
137 | int i, err; | 137 | int i, err; |
138 | static snd_device_ops_t ops = { | 138 | static struct snd_device_ops ops = { |
139 | .dev_free = snd_vx222_dev_free, | 139 | .dev_free = snd_vx222_dev_free, |
140 | }; | 140 | }; |
141 | struct snd_vx_ops *vx_ops; | 141 | struct snd_vx_ops *vx_ops; |
@@ -147,7 +147,7 @@ static int __devinit snd_vx222_create(snd_card_t *card, struct pci_dev *pci, | |||
147 | 147 | ||
148 | vx_ops = hw->type == VX_TYPE_BOARD ? &vx222_old_ops : &vx222_ops; | 148 | vx_ops = hw->type == VX_TYPE_BOARD ? &vx222_old_ops : &vx222_ops; |
149 | chip = snd_vx_create(card, hw, vx_ops, | 149 | chip = snd_vx_create(card, hw, vx_ops, |
150 | sizeof(struct snd_vx222) - sizeof(vx_core_t)); | 150 | sizeof(struct snd_vx222) - sizeof(struct vx_core)); |
151 | if (! chip) { | 151 | if (! chip) { |
152 | pci_disable_device(pci); | 152 | pci_disable_device(pci); |
153 | return -ENOMEM; | 153 | return -ENOMEM; |
@@ -186,7 +186,7 @@ static int __devinit snd_vx222_probe(struct pci_dev *pci, | |||
186 | const struct pci_device_id *pci_id) | 186 | const struct pci_device_id *pci_id) |
187 | { | 187 | { |
188 | static int dev; | 188 | static int dev; |
189 | snd_card_t *card; | 189 | struct snd_card *card; |
190 | struct snd_vx_hardware *hw; | 190 | struct snd_vx_hardware *hw; |
191 | struct snd_vx222 *vx; | 191 | struct snd_vx222 *vx; |
192 | int err; | 192 | int err; |