[ALSA] Fix pm_message_t in PXA2XX-AC97 driver
authorDirk Opfer <Dirk@Opfer-Online.de>
Wed, 14 Sep 2005 18:52:25 +0000 (20:52 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 7 Oct 2005 12:45:32 +0000 (14:45 +0200)
ARM PXA2XX driver
Fix pm_message_t in PXA2XX-AC97 driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/arm/pxa2xx-ac97.c

index 29450befb5da52b59680f7624d766897703d6d3c..38b20efc9c0b847f1a263b945e9ad31f2bddea2a 100644 (file)
@@ -245,7 +245,7 @@ static pxa2xx_pcm_client_t pxa2xx_ac97_pcm_client = {
 
 #ifdef CONFIG_PM
 
-static int pxa2xx_ac97_do_suspend(snd_card_t *card, unsigned int state)
+static int pxa2xx_ac97_do_suspend(snd_card_t *card, pm_message_t state)
 {
        if (card->power_state != SNDRV_CTL_POWER_D3cold) {
                pxa2xx_audio_ops_t *platform_ops = card->dev->platform_data;