linux/drivers/w1/masters
Uwe Kleine-König a96b912186 w1: move omap_hdq's probe function to .devinit.text
A pointer to omap_hdq_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: Stanley.Miao <stanley.miao@windriver.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Madhusudhan Chikkature <madhu.cr@ti.com>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-07 17:04:50 -08:00
..
ds1wm.c mfd: remove DS1WM clock handling 2009-04-05 00:32:22 +02:00
ds2482.c ds2482: Discard obsolete detect method 2009-10-04 22:53:41 +02:00
ds2490.c W1: ds2490.c optimize ds_set_pullup 2008-10-16 11:21:51 -07:00
Kconfig omap3: Replace ARCH_OMAP34XX with ARCH_OMAP3 2010-02-15 09:27:02 -08:00
Makefile w1: add 1-wire master driver for i.MX27 / i.MX31 2009-01-08 08:31:13 -08:00
matrox_w1.c Clean up duplicate includes in drivers/w1/ 2007-10-17 08:42:48 -07:00
mxc_w1.c [ARM] MXC: remove _clk suffix from clock names 2009-03-13 10:33:48 +01:00
omap_hdq.c w1: move omap_hdq's probe function to .devinit.text 2010-03-07 17:04:50 -08:00
w1-gpio.c w1-gpio: add external pull-up enable callback 2009-06-18 13:03:58 -07:00