[alsa-devel] [PATCH] ASoC: Intel: dw_pdata can be static

Liam Girdwood liam.r.girdwood at linux.intel.com
Wed Oct 29 16:40:27 CET 2014


From: kbuild test robot <fengguang.wu at intel.com>

sound/soc/intel/sst-firmware.c:172:29: sparse: symbol 'dw_pdata' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---
 sound/soc/intel/sst-firmware.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/intel/sst-firmware.c b/sound/soc/intel/sst-firmware.c
index 692a6ae..35788ad 100644
--- a/sound/soc/intel/sst-firmware.c
+++ b/sound/soc/intel/sst-firmware.c
@@ -169,7 +169,7 @@ err:
 	return ret;
 }
 
-struct dw_dma_platform_data dw_pdata = {
+static struct dw_dma_platform_data dw_pdata = {
 	.is_private = 1,
 	.chan_allocation_order = CHAN_ALLOCATION_ASCENDING,
 	.chan_priority = CHAN_PRIORITY_ASCENDING,
-- 
2.1.0



More information about the Alsa-devel mailing list