diff options
Diffstat (limited to 'sound/isa/ad1848/ad1848.c')
-rw-r--r-- | sound/isa/ad1848/ad1848.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/isa/ad1848/ad1848.c b/sound/isa/ad1848/ad1848.c index 5f5271efdc59..74db24ae6509 100644 --- a/sound/isa/ad1848/ad1848.c +++ b/sound/isa/ad1848/ad1848.c | |||
@@ -87,7 +87,7 @@ static int __devinit snd_ad1848_match(struct device *dev, unsigned int n) | |||
87 | static int __devinit snd_ad1848_probe(struct device *dev, unsigned int n) | 87 | static int __devinit snd_ad1848_probe(struct device *dev, unsigned int n) |
88 | { | 88 | { |
89 | struct snd_card *card; | 89 | struct snd_card *card; |
90 | struct snd_ad1848 *chip; | 90 | struct snd_wss *chip; |
91 | struct snd_pcm *pcm; | 91 | struct snd_pcm *pcm; |
92 | int error; | 92 | int error; |
93 | 93 | ||
@@ -142,7 +142,7 @@ static int __devexit snd_ad1848_remove(struct device *dev, unsigned int n) | |||
142 | static int snd_ad1848_suspend(struct device *dev, unsigned int n, pm_message_t state) | 142 | static int snd_ad1848_suspend(struct device *dev, unsigned int n, pm_message_t state) |
143 | { | 143 | { |
144 | struct snd_card *card = dev_get_drvdata(dev); | 144 | struct snd_card *card = dev_get_drvdata(dev); |
145 | struct snd_ad1848 *chip = card->private_data; | 145 | struct snd_wss *chip = card->private_data; |
146 | 146 | ||
147 | snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); | 147 | snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); |
148 | chip->suspend(chip); | 148 | chip->suspend(chip); |
@@ -152,7 +152,7 @@ static int snd_ad1848_suspend(struct device *dev, unsigned int n, pm_message_t s | |||
152 | static int snd_ad1848_resume(struct device *dev, unsigned int n) | 152 | static int snd_ad1848_resume(struct device *dev, unsigned int n) |
153 | { | 153 | { |
154 | struct snd_card *card = dev_get_drvdata(dev); | 154 | struct snd_card *card = dev_get_drvdata(dev); |
155 | struct snd_ad1848 *chip = card->private_data; | 155 | struct snd_wss *chip = card->private_data; |
156 | 156 | ||
157 | chip->resume(chip); | 157 | chip->resume(chip); |
158 | snd_power_change_state(card, SNDRV_CTL_POWER_D0); | 158 | snd_power_change_state(card, SNDRV_CTL_POWER_D0); |