[PATCH] ASoC: Staticise suspend/resume functions for GTA02

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Feb 19 20:05:58 CET 2009


Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/s3c24xx/neo1973_gta02_wm8753.c |    5 +++--
 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 4aa4e85..77a58b3 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);
-- 
1.5.6.3




More information about the openmoko-kernel mailing list