Skip to contentSkip to conversation

ASoC: Staticise simtec_audio_resume()

PATCH Applied Axel Lin 2 participants 2 messages Oct 3, 2011

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: Staticise simtec_audio_resume()

It is exported via resume callback of struct dev_pm_ops rather than referenced directly and so should be staticised.

---
 sound/soc/samsung/s3c24xx_simtec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/samsung/s3c24xx_simtec.c +1 -1
index 349566f..c8d525b 100644
@@ -300,7 +300,7 @@ static void detach_gpio_amp(struct s3c24xx_audio_simtec_pdata *pd)
 }
 
 #ifdef CONFIG_PM
-int simtec_audio_resume(struct device *dev)
+static int simtec_audio_resume(struct device *dev)
 {
 	simtec_call_startup(pdata);
 	return 0;
Signature · 1 line
1.7.4.1
Applied
#1 lore raw
Quoted 2 lines · Axel Lin

It is exported via resume callback of struct dev_pm_ops rather than referenced directly and so should be staticised.

Applied, thanks.