diff options
author | Uwe Kleine-König <[email protected]> | 2010-02-04 20:56:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-03-07 17:04:50 -0800 |
commit | c2e13037e6794bd0d9de3f9ecabf5615f15c160b (patch) | |
tree | 932ed7dd76eaf0442bd7288613a274355e343965 /tools/perf/scripts/python/syscall-counts.py | |
parent | 1b07193b34c1bc1c184e2d53a62633a73ea9b0a0 (diff) |
platform-drivers: move probe to .devinit.text in drivers/video
A pointer to a probe callback 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 <[email protected]>
Cc: Adrian Bunk <[email protected]>
Cc: Alberto Mardegan <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andriy Skulysh <[email protected]>
Cc: Antonino Daplas <[email protected]>
Cc: Anton Vorontsov <[email protected]>
Cc: Ben Dooks <[email protected]>
Cc: Chandramouli Narayanan <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Frans Pop <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: Huang Ying <[email protected]>
Cc: Ian Molton <[email protected]>
Cc: Joshua Kinard <[email protected]>
Cc: Kaj-Michael Lang <[email protected]>
Cc: Krzysztof Helt <[email protected]>
Cc: [email protected]
Cc: Maciej W. Rozycki <[email protected]>
Cc: Magnus Damm <[email protected]>
Cc: Martin Michlmayr <[email protected]>
Cc: Matthias Kaehlcke <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Philipp Zabel <[email protected]>
Cc: Richard Purdie <[email protected]>
Cc: Roel Kluin <[email protected]>
Cc: Roland Stigge <[email protected]>
Cc: Russell King <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Cc: Vincent Sanders <[email protected]>
Cc: Yoichi Yuasa <[email protected]>
Acked-by: Ralf Baechle <[email protected]>
Acked-by: Arnaud Patard <[email protected]>
Acked-by: James Simmons <[email protected]>
Acked-by: Peter Jones <[email protected]>
Acked-by: Jaya Kumar <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions