[alsa-devel] [PATCH 1/1] ASoC: s6105-ipcam: Fix incorrect placement of __initdata
Sachin Kamat
sachin.kamat at linaro.org
Thu Aug 8 13:22:18 CEST 2013
__initdata should be placed between the variable name and equal
sign for the variable to be placed in the intended section.
Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
Cc: Daniel Gloeckner <dg at emlix.com>
---
sound/soc/s6000/s6105-ipcam.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/s6000/s6105-ipcam.c b/sound/soc/s6000/s6105-ipcam.c
index 58cfb1e..945e8ab 100644
--- a/sound/soc/s6000/s6105-ipcam.c
+++ b/sound/soc/s6000/s6105-ipcam.c
@@ -192,7 +192,7 @@ static struct snd_soc_card snd_soc_card_s6105 = {
.num_links = 1,
};
-static struct s6000_snd_platform_data __initdata s6105_snd_data = {
+static struct s6000_snd_platform_data s6105_snd_data __initdata = {
.wide = 0,
.channel_in = 0,
.channel_out = 1,
--
1.7.9.5
More information about the Alsa-devel
mailing list