ASoC: Staticise simtec_audio_resume()
Subsystems (3)
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.
Signed-off-by Axel Lin <[email protected]>
--- sound/soc/samsung/s3c24xx_simtec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/samsung/s3c24xx_simtec.c +1 -1
@@ -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
Mark Brown
AppliedQuoted 2 lines · Axel Lin
It is exported via resume callback of struct
dev_pm_opsrather than referenced directly and so should be staticised.
Applied, thanks.