[PATCH] mfd: add #ifdef CONFIG_DEBUG_FS guard for ab8500_debug_resources

Linus Walleij linus.walleij at linaro.org
Thu Nov 10 03:41:10 EST 2011


On Thu, Nov 10, 2011 at 2:56 AM, Axel Lin <axel.lin at gmail.com> wrote:

> Fix below build warning if CONFIG_DEBUG_FS is disabled.
>
>  CC      drivers/mfd/ab8500-core.o
> drivers/mfd/ab8500-core.c:623: warning: 'ab8500_debug_resources' defined but not used
>
> Signed-off-by: Axel Lin <axel.lin at gmail.com>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Thanks Axel!
Linus Walleij



More information about the linux-arm-kernel mailing list