Uwe Kleine-König 5dbdf73548 move wm8400-regulator's probe function to .devinit.text
A pointer to wm8400_regulator_probe is passed to the core via
platform_driver_register and so the function must not disappear when the
.init sections are discarded.  Otherwise (if also having HOTPLUG=y)
unbinding and binding a device to the driver via sysfs will result in an
oops as does a device being registered late.

An alternative to this patch is using platform_driver_probe instead of
platform_driver_register plus removing the pointer to the probe function
from the struct platform_driver.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2009-01-17 13:46:40 +00:00
..
2009-01-16 14:45:34 -05:00
2009-01-08 16:29:41 +00:00
2009-01-16 16:15:16 +11:00
2009-01-06 15:59:30 -08:00
2009-01-08 08:31:15 -08:00
2009-01-14 19:19:04 +01:00
2009-01-11 01:34:25 +01:00
2009-01-14 14:42:21 -08:00
2009-01-15 16:39:40 -08:00
2009-01-16 14:45:34 -05:00
2009-01-09 12:37:15 -08:00
2009-01-16 14:45:34 -05:00
2009-01-09 03:39:43 -05:00
2009-01-11 00:05:16 -08:00