ARM: davinci: dm365 evm: fix unused variable warning
authorBrian Norris <computersforpeace@gmail.com>
Wed, 4 Sep 2013 18:00:46 +0000 (11:00 -0700)
committerSekhar Nori <nsekhar@ti.com>
Thu, 19 Sep 2013 09:26:03 +0000 (14:56 +0530)
commit016b9eb0c52ed7349ffdb42b4e51c93ad1f5d90a
tree037ac3fa45de421b52c5ee4c3194422809c6b56a
parent53ed7812841f107786f69e0437831469ffdeeeee
ARM: davinci: dm365 evm: fix unused variable warning

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 <computersforpeace@gmail.com>
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/board-dm365-evm.c