diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-07-02 09:20:37 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-07-03 02:23:03 -0400 |
commit | 68cb2b559278858ef9f3a7722f95df88797c7840 (patch) | |
tree | 3dd568aac5e1004ffd1e8400aa5a50ca6a11ad01 /include/sound/ymfpci.h | |
parent | 284e7ca75f96a18f182cce38ba76ee724fb97e16 (diff) |
ALSA: Convert to new pm_ops for PCI drivers
Straightforward conversion to the new pm_ops from the legacy
suspend/resume ops.
Since we change vx222, vx_core and vxpocket have to be converted,
too.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/ymfpci.h')
-rw-r--r-- | include/sound/ymfpci.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sound/ymfpci.h b/include/sound/ymfpci.h index 41199664666..238f118de6e 100644 --- a/include/sound/ymfpci.h +++ b/include/sound/ymfpci.h | |||
@@ -377,8 +377,7 @@ int snd_ymfpci_create(struct snd_card *card, | |||
377 | struct snd_ymfpci ** rcodec); | 377 | struct snd_ymfpci ** rcodec); |
378 | void snd_ymfpci_free_gameport(struct snd_ymfpci *chip); | 378 | void snd_ymfpci_free_gameport(struct snd_ymfpci *chip); |
379 | 379 | ||
380 | int snd_ymfpci_suspend(struct pci_dev *pci, pm_message_t state); | 380 | extern const struct dev_pm_ops snd_ymfpci_pm; |
381 | int snd_ymfpci_resume(struct pci_dev *pci); | ||
382 | 381 | ||
383 | int snd_ymfpci_pcm(struct snd_ymfpci *chip, int device, struct snd_pcm **rpcm); | 382 | int snd_ymfpci_pcm(struct snd_ymfpci *chip, int device, struct snd_pcm **rpcm); |
384 | int snd_ymfpci_pcm2(struct snd_ymfpci *chip, int device, struct snd_pcm **rpcm); | 383 | int snd_ymfpci_pcm2(struct snd_ymfpci *chip, int device, struct snd_pcm **rpcm); |