From: Arnd Bergmann Date: Thu, 14 Feb 2013 22:26:54 +0000 (+0100) Subject: ARM: shmobile: mark mackerel sh_mmcif_device __maybe_unused X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~44^2~8^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3425eb9df0a57f0b4ce0ad66831028f6ffe1615;p=pandora-kernel.git ARM: shmobile: mark mackerel sh_mmcif_device __maybe_unused Patch eac036ef9e "ARM: shmobile: streamline mackerel SD and MMC devices" made the use of the sh_mmcif_device variable for mackarel optional, but the definition is always provided, causing a build warning. arch/arm/mach-shmobile/board-mackerel.c:1120:31: warning: 'sh_mmcif_device' defined but not used [-Wunused-variable] Marking the variable as __maybe_unused will do the right thing here. Signed-off-by: Arnd Bergmann Cc: Guennadi Liakhovetski Signed-off-by: Simon Horman --- Reading git-diff-tree failed