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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/