Files
linux/drivers
Uwe Kleine-König 81e627e00a move stk17ta8's probe function to .devinit.text
A pointer to stk17ta8_rtc_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>
Cc: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Hannes Eder <hannes@hanneseder.net>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2009-11-09 09:40:58 +01:00
..
2009-10-15 00:47:13 -04:00
…
2009-11-09 09:40:55 +01:00
…
…
2009-11-04 14:04:06 +01:00
…
…
…
2009-11-02 22:12:37 -08:00
…
2009-09-24 07:21:05 -07:00
…
2009-10-15 09:58:27 -06:00
…
…
…
…
…
2009-09-23 11:35:41 -04:00
…
…
2009-10-04 22:53:41 +02:00
2009-11-09 09:40:54 +01:00
2009-10-04 15:05:10 -07:00
…
2009-09-23 10:07:49 -07:00