OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43419b8
)
ASoC: Staticise simtec_audio_resume()
author
Axel Lin
<axel.lin@gmail.com>
Mon, 3 Oct 2011 08:11:52 +0000
(16:11 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 3 Oct 2011 13:15:23 +0000
(14:15 +0100)
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>
sound/soc/samsung/s3c24xx_simtec.c
patch
|
blob
|
history
diff --git
a/sound/soc/samsung/s3c24xx_simtec.c
b/sound/soc/samsung/s3c24xx_simtec.c
index
349566f
..
c8d525b
100644
(file)
--- a/
sound/soc/samsung/s3c24xx_simtec.c
+++ b/
sound/soc/samsung/s3c24xx_simtec.c
@@
-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;