Re: [PATCH 3/5] W1: w1-gpio - guard DT IDs with CONFIG_OF

From: Greg Kroah-Hartman
Date: Tue Mar 12 2013 - 19:23:41 EST


On Sun, Feb 24, 2013 at 10:59:35PM -0800, Dmitry Torokhov wrote:
> This fixes the following warning:
>
> CC drivers/w1/masters/w1-gpio.o
> drivers/w1/masters/w1-gpio.c:50:28: warning: âw1_gpio_dt_idsâ defined but not used [-Wunused-variable]
>
> Also provide stub for w1_gpio_probe_dt() if device tree support is
> disabled.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> ---
> drivers/w1/masters/w1-gpio.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)

Already fixed.
--
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/