aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ymfpci/ymfpci.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-17 08:53:41 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:18:58 -0500
commit208a1b4cb5ad97510aa9cbe51d09e55656691cb4 (patch)
tree5f3c518582f92d19905451aec1bbb2ddd5cbd759 /sound/pci/ymfpci/ymfpci.c
parentbee1a5be8b6210a0a4e27e38d0f76847b0a014ae (diff)
[ALSA] Remove xxx_t typedefs: PCI YMFPCI
Modules: YMFPCI driver Remove xxx_t typedefs from the PCI YMFPCI driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ymfpci/ymfpci.c')
-rw-r--r--sound/pci/ymfpci/ymfpci.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/pci/ymfpci/ymfpci.c b/sound/pci/ymfpci/ymfpci.c
index d013237205d8..42499a94df41 100644
--- a/sound/pci/ymfpci/ymfpci.c
+++ b/sound/pci/ymfpci/ymfpci.c
@@ -80,7 +80,7 @@ static struct pci_device_id snd_ymfpci_ids[] = {
80MODULE_DEVICE_TABLE(pci, snd_ymfpci_ids); 80MODULE_DEVICE_TABLE(pci, snd_ymfpci_ids);
81 81
82#ifdef SUPPORT_JOYSTICK 82#ifdef SUPPORT_JOYSTICK
83static int __devinit snd_ymfpci_create_gameport(ymfpci_t *chip, int dev, 83static int __devinit snd_ymfpci_create_gameport(struct snd_ymfpci *chip, int dev,
84 int legacy_ctrl, int legacy_ctrl2) 84 int legacy_ctrl, int legacy_ctrl2)
85{ 85{
86 struct gameport *gp; 86 struct gameport *gp;
@@ -152,7 +152,7 @@ static int __devinit snd_ymfpci_create_gameport(ymfpci_t *chip, int dev,
152 return 0; 152 return 0;
153} 153}
154 154
155void snd_ymfpci_free_gameport(ymfpci_t *chip) 155void snd_ymfpci_free_gameport(struct snd_ymfpci *chip)
156{ 156{
157 if (chip->gameport) { 157 if (chip->gameport) {
158 struct resource *r = gameport_get_port_data(chip->gameport); 158 struct resource *r = gameport_get_port_data(chip->gameport);
@@ -164,19 +164,19 @@ void snd_ymfpci_free_gameport(ymfpci_t *chip)
164 } 164 }
165} 165}
166#else 166#else
167static inline int snd_ymfpci_create_gameport(ymfpci_t *chip, int dev, int l, int l2) { return -ENOSYS; } 167static inline int snd_ymfpci_create_gameport(struct snd_ymfpci *chip, int dev, int l, int l2) { return -ENOSYS; }
168void snd_ymfpci_free_gameport(ymfpci_t *chip) { } 168void snd_ymfpci_free_gameport(struct snd_ymfpci *chip) { }
169#endif /* SUPPORT_JOYSTICK */ 169#endif /* SUPPORT_JOYSTICK */
170 170
171static int __devinit snd_card_ymfpci_probe(struct pci_dev *pci, 171static int __devinit snd_card_ymfpci_probe(struct pci_dev *pci,
172 const struct pci_device_id *pci_id) 172 const struct pci_device_id *pci_id)
173{ 173{
174 static int dev; 174 static int dev;
175 snd_card_t *card; 175 struct snd_card *card;
176 struct resource *fm_res = NULL; 176 struct resource *fm_res = NULL;
177 struct resource *mpu_res = NULL; 177 struct resource *mpu_res = NULL;
178 ymfpci_t *chip; 178 struct snd_ymfpci *chip;
179 opl3_t *opl3; 179 struct snd_opl3 *opl3;
180 char *str; 180 char *str;
181 int err; 181 int err;
182 u16 legacy_ctrl, legacy_ctrl2, old_legacy_ctrl; 182 u16 legacy_ctrl, legacy_ctrl2, old_legacy_ctrl;