kernel-fxtec-pro1x/drivers/char/hw_random
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
..
amd-rng.c Tidy up addresses in random drivers 2008-10-27 08:39:52 -07:00
core.c hw-random: BKL pushdown 2008-06-20 14:05:57 -06:00
geode-rng.c Tidy up addresses in random drivers 2008-10-27 08:39:52 -07:00
intel-rng.c Tidy up addresses in random drivers 2008-10-27 08:39:52 -07:00
ixp4xx-rng.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig hwrng: timeriomem - Breaks an allyesconfig build on s390: 2009-03-21 14:19:04 +08:00
Makefile hwrng: timeriomem - New driver 2009-02-22 12:03:56 +08:00
n2-asm.S sparc64: Add Niagara2 RNG driver. 2008-07-18 00:46:09 -07:00
n2-drv.c sparc64: Fix unsigned long long warnings in drivers. 2009-01-06 13:20:38 -08:00
n2rng.h sparc64: Add Niagara2 RNG driver. 2008-07-18 00:46:09 -07:00
omap-rng.c hwrng: omap - Move probe function to .devinit.text 2009-06-02 14:04:21 +10:00
pasemi-rng.c pasemi-rng: Use linux/of_platform.h instead of asm 2008-06-30 22:30:29 +10:00
timeriomem-rng.c hwrng: timeriomem - Use phys address rather than virt 2009-03-27 12:59:54 +08:00
via-rng.c Tidy up addresses in random drivers 2008-10-27 08:39:52 -07:00
virtio-rng.c virtio-rng: Remove false BUG for spurious callbacks 2009-04-24 13:28:30 -07:00