From: Stephen Rothwell <hidden> Date: 2007-07-21 14:29:28
sound/aoa/codecs/snd-aoa-codec-tas.c:750: warning: 'tas_suspend' defined but not used
sound/aoa/codecs/snd-aoa-codec-tas.c:760: warning: 'tas_resume' defined but not used
Signed-off-by: Stephen Rothwell <redacted>
---
sound/aoa/codecs/snd-aoa-codec-tas.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
@@ -743,6 +743,7 @@ static int tas_switch_clock(struct codec_info_item *cii, enum clock_switch clockreturn0;}+#ifdef CONFIG_PM/* we are controlled via i2c and assume that is always up*Ifthatwasn'tthecase,we'dhavetosuspendonce*ouri2cdeviceissuspended,andthentakenoteofthat!*/
@@ -768,7 +769,6 @@ static int tas_resume(struct tas *tas)return0;}-#ifdef CONFIG_PMstaticint_tas_suspend(structcodec_info_item*cii,pm_message_tstate){returntas_suspend(cii->codec_data);
From: Johannes Berg <johannes@sipsolutions.net> Date: 2007-07-21 17:29:49
On Sun, 2007-07-22 at 00:29 +1000, Stephen Rothwell wrote:
sound/aoa/codecs/snd-aoa-codec-tas.c:750: warning: 'tas_suspend' defined but not used
sound/aoa/codecs/snd-aoa-codec-tas.c:760: warning: 'tas_resume' defined but not used
Heh. I daresay I never compiled a kernel without PM. Not sure why you'd
want to, but still good to have it fixed. Thanks.
[full copy below for Takashi, I suppose it'll go through his tree]
From: Stephen Rothwell <redacted>
Subject: Fix tas_suspend/resume build warning
sound/aoa/codecs/snd-aoa-codec-tas.c:750: warning: 'tas_suspend' defined but not used
sound/aoa/codecs/snd-aoa-codec-tas.c:760: warning: 'tas_resume' defined but not used
Signed-off-by: Stephen Rothwell <redacted>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
---
sound/aoa/codecs/snd-aoa-codec-tas.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
@@ -743,6 +743,7 @@ static int tas_switch_clock(struct codec_info_item *cii, enum clock_switch clockreturn0;}+#ifdef CONFIG_PM/* we are controlled via i2c and assume that is always up*Ifthatwasn'tthecase,we'dhavetosuspendonce*ouri2cdeviceissuspended,andthentakenoteofthat!*/
@@ -768,7 +769,6 @@ static int tas_resume(struct tas *tas)return0;}-#ifdef CONFIG_PMstaticint_tas_suspend(structcodec_info_item*cii,pm_message_tstate){returntas_suspend(cii->codec_data);
From: Stephen Rothwell <hidden> Date: 2007-07-21 23:54:58
On Sat, 21 Jul 2007 19:29:26 +0200 Johannes Berg [off-list ref] wrote:
On Sun, 2007-07-22 at 00:29 +1000, Stephen Rothwell wrote:
quoted
sound/aoa/codecs/snd-aoa-codec-tas.c:750: warning: 'tas_suspend' defined but not used
sound/aoa/codecs/snd-aoa-codec-tas.c:760: warning: 'tas_resume' defined but not used
Heh. I daresay I never compiled a kernel without PM. Not sure why you'd
want to, but still good to have it fixed. Thanks.
Thats was a PowerPC ppc64_defconfig build. Why that has CONFIG_PM not set is anyone's guess :-)
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
At Sat, 21 Jul 2007 19:29:26 +0200,
Johannes Berg wrote:
On Sun, 2007-07-22 at 00:29 +1000, Stephen Rothwell wrote:
quoted
sound/aoa/codecs/snd-aoa-codec-tas.c:750: warning: 'tas_suspend' defined but not used
sound/aoa/codecs/snd-aoa-codec-tas.c:760: warning: 'tas_resume' defined but not used
Heh. I daresay I never compiled a kernel without PM. Not sure why you'd
want to, but still good to have it fixed. Thanks.
[full copy below for Takashi, I suppose it'll go through his tree]
Thanks, I applied it to ALSA tree now.
Takashi
quoted hunk
From: Stephen Rothwell <redacted>
Subject: Fix tas_suspend/resume build warning
sound/aoa/codecs/snd-aoa-codec-tas.c:750: warning: 'tas_suspend' defined but not used
sound/aoa/codecs/snd-aoa-codec-tas.c:760: warning: 'tas_resume' defined but not used
Signed-off-by: Stephen Rothwell <redacted>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
---
sound/aoa/codecs/snd-aoa-codec-tas.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
@@ -743,6 +743,7 @@ static int tas_switch_clock(struct codec_info_item *cii, enum clock_switch clockreturn0;}+#ifdef CONFIG_PM/* we are controlled via i2c and assume that is always up*Ifthatwasn'tthecase,we'dhavetosuspendonce*ouri2cdeviceissuspended,andthentakenoteofthat!*/
@@ -768,7 +769,6 @@ static int tas_resume(struct tas *tas)return0;}-#ifdef CONFIG_PMstaticint_tas_suspend(structcodec_info_item*cii,pm_message_tstate){returntas_suspend(cii->codec_data);