From: Dirk Opfer Date: Wed, 14 Sep 2005 18:52:25 +0000 (+0200) Subject: [ALSA] Fix pm_message_t in PXA2XX-AC97 driver X-Git-Tag: v2.6.14-rc4~25^2~21 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1dcee12591320d79e4fc5bcdc4aa8a2522b7afdb;p=linux-2.6-omap-h63xx.git [ALSA] Fix pm_message_t in PXA2XX-AC97 driver ARM PXA2XX driver Fix pm_message_t in PXA2XX-AC97 driver. Signed-off-by: Takashi Iwai --- diff --git a/sound/arm/pxa2xx-ac97.c b/sound/arm/pxa2xx-ac97.c index 29450befb5d..38b20efc9c0 100644 --- a/sound/arm/pxa2xx-ac97.c +++ b/sound/arm/pxa2xx-ac97.c @@ -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;