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

From: Linus Walleij
Date: Thu Nov 10 2011 - 03:41:12 EST


On Thu, Nov 10, 2011 at 2:56 AM, Axel Lin <axel.lin@xxxxxxxxx> 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@xxxxxxxxx>

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Thanks Axel!
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/