On Fri, Jan 25, 2013 at 3:14 PM, Arnd Bergmann <a...@arndb.de> wrote:

> nmk_prcm_gpiocr_get_mode is only needed for debugfs output at
> the moment, which can be compile-time disabled. Marking
> the function __maybe_unused still gives us compile-time
> coverage, but avoids a gcc warning.
>
> Without this patch, building nhk8815_defconfig results in:
>
> drivers/pinctrl/pinctrl-nomadik.c:676:12: warning: 'nmk_prcm_gpiocr_get_mode' 
> defined but not used [-Wunused-function]
>
> Signed-off-by: Arnd Bergmann <a...@arndb.de>
> Cc: Jean-Nicolas Graux <jean-nicolas.gr...@stericsson.com>
> Cc: Linus Walleij <linus.wall...@linaro.org>
> Cc: Srinidhi Kasagar <srinidhi.kasa...@stericsson.com>

Patch applied, thanks!

Linus Walleij
--
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/

Reply via email to