Re: [PATCH] w1-gpio: fix section mismatch

From: Evgeniy Polyakov
Date: Mon Jan 28 2013 - 10:31:48 EST


Hi

On Sun, Jan 27, 2013 at 09:07:57PM +0100, Hauke Mehrtens (hauke@xxxxxxxxxx) wrote:
> This fixes the following section mismatch:
>
> WARNING: drivers/w1/masters/w1-gpio.o(.data+0x188): Section mismatch in
> reference from the variable w1_gpio_driver to the function
> .init.text:w1_gpio_probe()
> The variable w1_gpio_driver references
> the function __init w1_gpio_probe()
> If the reference is valid then annotate the
> variable with __init* or __refdata (see linux/init.h) or name the variable:
> *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
>
> Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>

Looks good to me
Acked-by: Evgeniy Polyakov <zbr@xxxxxxxxxxx>

--
Evgeniy Polyakov
--
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/