Skip to content

Commit

Permalink
ASoC: Staticise simtec_audio_resume()
Browse files Browse the repository at this point in the history
It is exported via resume callback of struct dev_pm_ops rather than referenced
directly and so should be staticised.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 3, 2011
1 parent 43419b8 commit 2e4891a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/samsung/s3c24xx_simtec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2e4891a

Please sign in to comment.