Uwe Kleine-König
0e3912c75f
[WATCHDOG] omap_wdt.c: move probe function to .devinit.text
...
A pointer to omap_wdt_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: Alan Cox <alan@redhat.com>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Cc: George G. Davis <gdavis@mvista.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2009-04-08 06:21:57 +00:00
..
2009-03-25 09:07:04 +00:00
2009-03-25 09:07:04 +00:00
2009-03-25 09:07:04 +00:00
2009-03-25 09:07:04 +00:00
2008-08-06 20:19:41 +00:00
2008-08-06 20:19:41 +00:00
2009-04-08 06:12:46 +00:00
2009-03-25 09:07:04 +00:00
2008-10-28 19:16:11 +00:00
2008-11-08 12:38:59 -06:00
2008-08-06 13:21:09 +00:00
2009-03-25 09:07:34 +00:00
2009-03-25 08:57:43 +00:00
2008-08-08 19:18:18 +01:00
2009-03-25 09:07:04 +00:00
2009-03-05 14:02:53 +00:00
2009-03-25 09:07:04 +00:00
2009-03-30 21:46:44 +02:00
2009-04-08 06:06:50 +00:00
2008-12-31 16:12:16 +00:00
2008-09-23 08:05:32 +00:00
2008-10-28 19:16:11 +00:00
2008-08-08 19:18:18 +01:00
2009-03-25 09:07:04 +00:00
2008-08-06 20:19:41 +00:00
2009-03-25 09:07:04 +00:00
2008-05-28 11:51:32 +00:00
2009-03-25 09:07:04 +00:00
2008-09-01 12:06:23 +01:00
2008-08-08 19:18:18 +01:00
2009-04-08 06:10:09 +00:00
2009-04-08 06:13:07 +00:00
2008-06-13 19:25:38 +00:00
2009-04-08 06:10:09 +00:00
2008-08-06 13:21:09 +00:00
2008-08-26 20:20:44 +00:00
2009-03-25 09:07:04 +00:00
2009-03-25 09:07:04 +00:00
2009-03-25 09:07:04 +00:00
2008-08-06 13:02:16 +00:00
2009-04-08 06:21:57 +00:00
2008-10-10 13:11:10 +00:00
2009-04-08 06:09:01 +00:00
2009-03-25 09:07:04 +00:00
2009-03-25 09:07:04 +00:00
2009-03-25 09:07:04 +00:00
2009-03-25 09:07:04 +00:00
2009-01-12 20:08:56 +00:00
2009-03-25 09:07:04 +00:00
2009-03-25 09:06:18 +00:00
2009-01-18 19:39:18 +01:00
2009-03-25 09:07:34 +00:00
2009-03-24 16:38:25 -07:00
2008-11-03 14:49:01 +00:00
2009-03-28 20:29:51 +00:00
2008-10-28 19:16:11 +00:00
2009-03-25 09:07:04 +00:00
2008-08-06 13:21:09 +00:00
2009-03-25 09:07:04 +00:00
2009-03-25 09:07:04 +00:00
2009-03-25 09:07:04 +00:00
2009-03-25 09:07:04 +00:00
2008-12-31 16:12:47 +00:00
2008-08-06 20:19:41 +00:00
2008-08-10 20:22:32 +00:00
2009-03-25 09:07:04 +00:00
2009-03-25 09:07:04 +00:00
2008-08-10 20:19:11 +00:00
2008-10-28 19:16:11 +00:00
2009-03-25 09:07:04 +00:00
2009-03-25 09:07:04 +00:00
2008-08-06 13:21:09 +00:00
2009-03-25 09:07:04 +00:00
2008-10-28 19:16:11 +00:00
2009-03-25 09:07:04 +00:00
2009-04-07 15:07:43 +10:00
2008-10-28 19:16:11 +00:00
2009-03-25 09:07:04 +00:00
2008-10-28 19:16:11 +00:00
2009-03-25 09:08:16 +00:00
2009-01-12 20:08:30 +00:00