Subject: [PATCH] arm: mach-davinci: mark __maybe_unused struct

From: [email-masked] (Sekhar Nori)
Date: Thu, 12 Sep 2013 16:13:29 +0530

On Wednesday 04 September 2013 11:30 PM, Brian Norris wrote:
> If neither CONFIG_SND_DM365_AIC3X_CODEC nor CONFIG_SND_DM365_VOICE_CODEC
> are defined, we may get warnings like:
> 
>     arch/arm/mach-davinci/board-dm365-evm.c:179:33: warning: 'dm365_evm_snd_data' defined but not used [-Wunused-variable]
> 
> To fix this, just mark the struct as __maybe_unused.
> 
> Signed-off-by: Brian Norris <[email-masked]>
> Cc: Sekhar Nori <[email-masked]>
> Cc: Kevin Hilman <[email-masked]>
> Cc: Russell King <[email-masked]>

Thanks, will queue this for -rc cycle. For future, please note that
subject line of DaVinci patches need to be prefixed "ARM: davinci: ".
Also, the subject should highlight the answer to "Why?" rather than
"How?". So, while committing I changed the headline to:

ARM: davinci: dm365 evm: fix unused variable warning

Thanks,
Sekhar