Re: [089/107] drivers/base/platform.c: dont markplatform_device_register_resndata() as __init_or_module

From: Uwe Kleine-König
Date: Fri Jul 08 2011 - 02:47:51 EST


Hello,

On Thu, Jul 07, 2011 at 05:17:01PM -0700, Greg KH wrote:
> 2.6.39-stable review patch. If anyone has any objections, please let us know.
>
> ------------------
>
> From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
>
> commit bb2b43fefab723f4a0760146e7bed59d41a50e53 upstream.
>
> This reverts 737a3bb9416ce2a7c7a4 ("Driver core: move platform device
> creation helpers to .init.text (if MODULE=n)"). That patch assumed that
> platform_device_register_resndata() is only ever called from __init code
> but that isn't true in the case ioctl->drm_ioctl->radeon_cp_init().
>
> Addresses https://bugzilla.kernel.org/show_bug.cgi?id=35192
>
> Cc: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
Acked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

> Reported-by: Anthony Basile <blueness@xxxxxxxxxx>
> Cc: Greg KH <gregkh@xxxxxxx>
> Cc: David Airlie <airlied@xxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
You might want to remove one of your sobs.

Uwe

--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
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/