Re: [PATCH 13/19] pinctrl: nomadik: nmk_prcm_gpiocr_get_mode may be unused

2013-01-29 Thread Linus Walleij
On Fri, Jan 25, 2013 at 3:14 PM, Arnd Bergmann 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,

Re: [PATCH 13/19] pinctrl: nomadik: nmk_prcm_gpiocr_get_mode may be unused

2013-01-29 Thread Linus Walleij
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 13/19] pinctrl: nomadik: nmk_prcm_gpiocr_get_mode may be unused

2013-01-25 Thread Arnd Bergmann
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:

[PATCH 13/19] pinctrl: nomadik: nmk_prcm_gpiocr_get_mode may be unused

2013-01-25 Thread Arnd Bergmann
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:

[PATCH 13/19] pinctrl: nomadik: nmk_prcm_gpiocr_get_mode may be unused

2013-01-25 Thread Arnd Bergmann
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:

[PATCH 13/19] pinctrl: nomadik: nmk_prcm_gpiocr_get_mode may be unused

2013-01-25 Thread Arnd Bergmann
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: