Uwe Kleine-König
ea180ca4d6
media: move omap24xxcam's probe function to .devinit.text
...
A pointer to omap24xxcam_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>
Acked-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Acked-by: Trilok Soni <soni.trilok@gmail.com>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-07 17:04:50 -08:00
..
2009-12-16 00:17:57 -02:00
2010-02-26 15:11:03 -03:00
2009-12-16 00:18:31 -02:00
2010-02-26 15:10:51 -03:00
2010-02-26 15:58:11 -03:00
2010-02-26 15:10:46 -03:00
2010-02-26 15:10:52 -03:00
2010-02-26 15:10:50 -03:00
2010-02-26 15:11:06 -03:00
2010-02-26 15:11:02 -03:00
2010-02-26 15:10:41 -03:00
2010-02-26 15:11:10 -03:00
2010-02-26 15:11:02 -03:00
2010-02-26 15:11:07 -03:00
2009-03-30 12:43:49 -03:00
2010-02-26 15:11:06 -03:00
2010-02-19 03:19:02 -02:00
2010-02-26 15:10:57 -03:00
2010-02-26 15:10:34 -03:00
2010-02-26 15:11:09 -03:00
2010-02-26 15:11:02 -03:00
2009-12-16 00:17:57 -02:00
2010-02-26 15:10:33 -03:00
2010-02-26 15:11:05 -03:00
2010-02-26 15:10:41 -03:00
2010-02-26 15:10:49 -03:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-12-05 18:40:43 -02:00
2009-06-16 18:20:59 -03:00
2009-09-19 00:18:07 -03:00
2009-12-16 00:17:57 -02:00
2010-02-26 15:10:46 -03:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-08-13 20:39:14 -03:00
2009-12-16 00:17:55 -02:00
2010-02-26 15:10:51 -03:00
2010-02-26 15:10:57 -03:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-06-23 03:14:31 -03:00
2010-03-02 14:54:23 -08:00
2010-02-26 15:11:05 -03:00
2010-02-26 15:11:05 -03:00
2009-03-30 12:43:11 -03:00
2010-02-26 15:10:51 -03:00
2010-02-26 15:11:06 -03:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2010-02-26 15:11:01 -03:00
2009-12-22 14:17:56 -08:00
2009-12-22 14:17:55 -08:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-12-16 09:27:29 -02:00
2009-12-16 09:27:29 -02:00
2009-12-16 09:27:31 -02:00
2010-02-19 03:19:01 -02:00
2009-08-13 20:39:08 -03:00
2009-08-13 20:39:02 -03:00
2010-02-26 15:10:59 -03:00
2010-01-17 11:31:37 -02:00
2009-12-16 09:27:29 -02:00
2010-02-26 15:11:05 -03:00
2010-03-07 17:04:50 -08:00
2009-12-16 00:18:33 -02:00
2009-06-16 19:07:40 -03:00
2010-02-26 15:11:00 -03:00
2009-03-30 12:43:30 -03:00
2009-12-16 09:27:29 -02:00
2009-12-05 18:40:01 -02:00
2009-12-16 09:28:01 -02:00
2010-02-26 15:11:00 -03:00
2010-02-26 15:10:33 -03:00
2009-12-16 00:17:57 -02:00
2009-12-05 18:41:40 -02:00
2009-12-16 00:17:57 -02:00
2009-07-12 12:22:34 -07:00
2009-09-12 12:17:31 -03:00
2009-12-05 18:41:04 -02:00
2010-02-26 15:11:05 -03:00
2010-02-26 15:10:30 -03:00
2009-03-30 12:43:15 -03:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-12-16 00:17:55 -02:00
2009-06-16 19:07:54 -03:00
2010-02-26 15:11:00 -03:00
2009-12-16 09:27:29 -02:00
2010-02-26 15:11:00 -03:00
2010-02-26 15:11:11 -03:00
2009-12-16 00:17:57 -02:00
2009-12-16 00:17:57 -02:00
2009-12-16 00:17:57 -02:00
2009-06-23 03:14:48 -03:00
2009-06-16 18:20:36 -03:00
2009-04-06 21:44:23 -03:00
2009-03-30 12:43:48 -03:00
2009-06-16 18:20:58 -03:00
2009-06-16 18:20:58 -03:00
2009-06-16 18:20:59 -03:00
2009-03-30 12:43:49 -03:00
2010-02-26 15:10:34 -03:00
2009-12-05 18:40:40 -02:00
2010-02-26 15:10:34 -03:00
2009-09-19 00:18:09 -03:00
2009-12-05 18:41:13 -02:00
2009-04-06 21:44:27 -03:00
2010-02-26 15:11:01 -03:00
2010-02-26 15:11:01 -03:00
2010-02-26 15:10:59 -03:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-09-19 00:15:25 -03:00
2009-12-16 00:18:47 -02:00
2010-02-26 15:10:49 -03:00
2009-12-16 00:17:55 -02:00
2009-06-16 19:07:26 -03:00
2009-12-16 00:18:03 -02:00
2009-12-05 18:41:46 -02:00
2009-12-16 00:18:34 -02:00
2010-02-26 15:11:03 -03:00
2009-12-05 18:40:21 -02:00
2010-02-26 15:11:03 -03:00
2009-12-16 00:17:57 -02:00
2010-02-26 15:10:32 -03:00
2009-04-06 21:44:22 -03:00
2009-12-05 18:41:04 -02:00
2009-03-30 12:43:15 -03:00
2009-12-16 00:17:57 -02:00
2009-04-06 21:44:26 -03:00
2009-03-30 12:43:49 -03:00
2009-04-06 21:44:27 -03:00
2010-02-26 15:10:28 -03:00