From: arnd@arndb.de (Arnd Bergmann) Date: Fri, 15 Feb 2013 12:55:06 +0000 Subject: [PATCH 5/9] ARM: shmobile: mark mackerel sh_mmcif_device __maybe_unused In-Reply-To: <20130214232426.GB30667@verge.net.au> References: <1360880818-4071454-1-git-send-email-arnd@arndb.de> <1360880818-4071454-6-git-send-email-arnd@arndb.de> <20130214232426.GB30667@verge.net.au> Message-ID: <201302151255.06547.arnd@arndb.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thursday 14 February 2013, Simon Horman wrote: > On Thu, Feb 14, 2013 at 11:26:54PM +0100, Arnd Bergmann wrote: > > 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 > > Cc: Simon Horman > > No objections here. > > Acked-by: Simon Horman AFAICT, the change that caused this is in linux-next only through your heads/boards3 branch but not through arm-soc, so please apply my patch on your branch. Arnd