Files
linux/drivers/char
Uwe Kleine-König 9f171adc19 hwrng: omap - Move probe function to .devinit.text
A pointer to omap_rng_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: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Patrick McHardy <kaber@trash.net>
Cc: Jan Engelhardt <jengelh@gmx.de>
Cc: Michael Buesch <mb@bu3sch.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2009-06-02 14:04:21 +10:00
..
2009-04-01 08:59:08 -07:00
2009-05-22 07:30:41 -07:00
2009-05-20 08:30:05 +10:00
2008-06-20 14:05:55 -06:00
2008-12-13 11:25:49 -08:00
2008-10-20 08:52:41 -07:00
2008-12-13 09:12:07 +00:00
2008-07-20 17:12:36 -07:00
2009-04-07 08:31:03 -07:00
2008-06-20 14:05:57 -06:00
2008-12-03 21:04:09 +11:00
2009-01-02 10:28:32 -08:00
2009-04-06 14:36:33 -07:00
2009-01-31 01:21:59 +01:00
2008-06-20 14:05:48 -06:00
2008-04-30 08:29:43 -07:00
2008-07-24 10:47:14 -07:00
2009-01-02 10:19:40 -08:00
2009-01-02 10:19:40 -08:00
2009-01-02 10:19:40 -08:00
2009-01-12 16:37:00 -08:00
2008-07-20 17:12:38 -07:00
2009-01-08 16:44:03 -07:00
2009-02-22 09:23:02 -08:00
2009-01-02 10:19:40 -08:00
2009-03-16 08:34:35 -06:00
2008-07-20 17:12:38 -07:00
2009-04-02 19:05:01 -07:00
2009-05-15 07:56:24 -05:00
2008-06-20 14:05:51 -06:00
2008-04-30 23:15:34 +02:00
2009-03-31 23:00:28 -04:00
2009-03-31 23:00:28 -04:00
2008-10-16 16:52:05 +02:00
2009-04-19 10:51:40 -07:00