[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201210040823.16315.arnd@arndb.de>
Date: Thu, 4 Oct 2012 08:23:16 +0000
From: Arnd Bergmann <arnd@...db.de>
To: "Jean-Christophe PLAGNIOL-VILLARD" <plagnioj@...osoft.com>
Cc: linux-arm-kernel@...radead.org, arm@...nel.org,
linux-kernel@...r.kernel.org,
Nicolas Ferre <nicolas.ferre@...el.com>
Subject: Re: [PATCH 07/17] ARM: at91: skip at91_io_desc definition for NOMMU
On Tuesday 02 October 2012, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 18:36 Tue 02 Oct , Arnd Bergmann wrote:
> > On NOMMU systems, we do cannot remap the MMIO space, so the
> > definition of at91_io_desc is unused.
> >
> > Without this patch, building at91x40_defconfig results in:
> >
> > arch/arm/mach-at91/setup.c:90:24: warning: 'at91_io_desc' defined but not used [-Wunused-variable]
> I prefer a __maybe_unused on the struct so the compilator will just drop it
>
Ok, makes sense. I've fixed up the patch accordingly.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists