[alsa-devel] [PATCH 1/1] ASoC: s6105-ipcam: Fix incorrect placement of __initdata
__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@linaro.org Cc: Daniel Gloeckner dg@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,
On Thu, Aug 08, 2013 at 04:52:18PM +0530, Sachin Kamat wrote:
__initdata should be placed between the variable name and equal sign for the variable to be placed in the intended section.
Applied, thanks.
participants (2)
-
Mark Brown
-
Sachin Kamat