Re: [PATCH] mfd: Guard max77686_pmic_dt_match with CONFIG_OF

From: Samuel Ortiz
Date: Tue Jul 10 2012 - 04:49:30 EST


Hi Axel,

On Mon, Jul 09, 2012 at 10:29:00PM +0800, Axel Lin wrote:
> This fixes below build warning if CONFIG_OF is not set.
>
> CC drivers/mfd/max77686.o
> drivers/mfd/max77686.c:37:42: warning: 'max77686_pmic_dt_match' defined but not used [-Wunused-variable]
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
> ---
> drivers/mfd/max77686.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Thanks, patch applied.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
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/