[alsa-devel] [PATCH -next] ASoC: wm_adsp: Fix sparse non static symbol warning
![](https://secure.gravatar.com/avatar/7169703da79967ebc67406dbba0135b4.jpg?s=120&d=mm&r=g)
From: Wei Yongjun yongjun_wei@trendmicro.com.cn
Fixes the following sparse warning:
sound/soc/codecs/wm_adsp.c:1500:6: warning: symbol 'wm_adsp2_boot_work' was not declared. Should it be static?
Signed-off-by: Wei Yongjun yongjun_wei@trendmicro.com.cn --- sound/soc/codecs/wm_adsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index 41669ad..444626f 100644 --- a/sound/soc/codecs/wm_adsp.c +++ b/sound/soc/codecs/wm_adsp.c @@ -1497,7 +1497,7 @@ static int wm_adsp2_ena(struct wm_adsp *dsp) return 0; }
-void wm_adsp2_boot_work(struct work_struct *work) +static void wm_adsp2_boot_work(struct work_struct *work) { struct wm_adsp *dsp = container_of(work, struct wm_adsp,
![](https://secure.gravatar.com/avatar/d930951cb00393ecf9c3db3a56d78fa9.jpg?s=120&d=mm&r=g)
On Thu, Jan 09, 2014 at 10:22:35PM +0800, Wei Yongjun wrote:
From: Wei Yongjun yongjun_wei@trendmicro.com.cn
Fixes the following sparse warning:
sound/soc/codecs/wm_adsp.c:1500:6: warning: symbol 'wm_adsp2_boot_work' was not declared. Should it be static?
This was already fixed.
participants (2)
-
Mark Brown
-
Wei Yongjun