alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: Staticise simtec_audio_resume()
@ 2011-10-03  8:11 Axel Lin
  2011-10-03 13:16 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-10-03  8:11 UTC (permalink / raw)
  To: linux-kernel
  Cc: alsa-devel, Mark Brown, Sangbeom Kim, Jassi Brar, Ben Dooks,
	Liam Girdwood

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>
---
 sound/soc/samsung/s3c24xx_simtec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/samsung/s3c24xx_simtec.c b/sound/soc/samsung/s3c24xx_simtec.c
index 349566f..c8d525b 100644
--- 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;
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: Staticise simtec_audio_resume()
  2011-10-03  8:11 [PATCH] ASoC: Staticise simtec_audio_resume() Axel Lin
@ 2011-10-03 13:16 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2011-10-03 13:16 UTC (permalink / raw)
  To: Axel Lin
  Cc: linux-kernel, Jassi Brar, Ben Dooks, Sangbeom Kim, Liam Girdwood,
	alsa-devel

On Mon, Oct 03, 2011 at 04:11:52PM +0800, Axel Lin wrote:
> It is exported via resume callback of struct dev_pm_ops rather than referenced
> directly and so should be staticised.

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-03 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-03  8:11 [PATCH] ASoC: Staticise simtec_audio_resume() Axel Lin
2011-10-03 13:16 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).