aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-02-20 02:27:02 +0000
committerAndy Green <agreen@octopus.localdomain>2009-02-20 02:27:02 +0000
commit741f4b213869c08d0f259ba4f74426e7a6734ec6 (patch)
tree20c21259762aca4b6ebccd54bffe7c40b058d860 /sound
parent6bf861ed654ff59cdf8829e47d6b7361c40f75ba (diff)
ASoC: Staticise suspend/resume functions for GTA02
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/s3c24xx/neo1973_gta02_wm8753.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
index 4aa4e858ca0..77a58b38bde 100644
--- a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
+++ b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
@@ -583,14 +583,15 @@ static struct snd_soc_dai_link neo1973_gta02_dai[] = {
};
#ifdef CONFIG_PM
-int neo1973_gta02_suspend(struct platform_device *pdev, pm_message_t state)
+static int neo1973_gta02_suspend(struct platform_device *pdev,
+ pm_message_t state)
{
s3c2410_gpio_setpin(GTA02_GPIO_AMP_SHUT, 1);
return 0;
}
-int neo1973_gta02_resume(struct platform_device *pdev)
+static int neo1973_gta02_resume(struct platform_device *pdev)
{
if(lm4853_state & LM4853_AMP)
s3c2410_gpio_setpin(GTA02_GPIO_AMP_SHUT, 0);