Arnd Bergmann
dbb812b141
rtc: davinci: remove incorrect reference to probe function
...
The davinci rtc driver uses the module_platform_driver_probe()
helper to call the probe function and mark it as __init, but
it also puts a reference into its davinci_rtc_driver function.
This will crash if we ever get a deferred probe and the probe
function is called again after the init section has been removed.
kbuild warns about this:
WARNING: vmlinux.o(.data+0x1aa2b4): Section mismatch in reference from the variable davinci_rtc_driver to the function .init.text:davinci_rtc_probe()
The variable davinci_rtc_driver references
the function __init davinci_rtc_probe()
This patch removes the .probe callback from the platform driver,
which avoids those problems.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2015-11-08 14:12:29 +01:00
..
2015-09-05 13:19:07 +02:00
2015-04-17 09:04:02 -04:00
2015-09-05 13:19:09 +02:00
2015-11-08 14:12:23 +01:00
2015-09-05 19:37:19 +02:00
2015-09-05 13:19:05 +02:00
2014-10-20 16:21:31 +02:00
2015-04-03 08:18:25 +02:00
2015-11-08 14:12:25 +01:00
2015-09-05 13:19:08 +02:00
2015-09-05 19:37:31 +02:00
2015-09-05 19:37:22 +02:00
2015-09-05 19:37:18 +02:00
2015-06-25 01:12:50 +02:00
2015-11-08 14:12:28 +01:00
2015-09-05 13:19:13 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 13:19:09 +02:00
2015-09-05 13:19:06 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 13:19:09 +02:00
2015-09-05 19:37:22 +02:00
2015-09-05 13:19:07 +02:00
2015-04-17 09:04:00 -04:00
2014-10-20 16:21:31 +02:00
2015-11-08 14:12:26 +01:00
2015-11-08 14:12:29 +01:00
2015-09-05 13:19:07 +02:00
2015-04-17 09:04:01 -04:00
2014-10-20 16:21:31 +02:00
2015-06-25 01:13:40 +02:00
2015-06-25 01:13:40 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 13:19:09 +02:00
2015-09-05 13:19:10 +02:00
2015-11-08 14:12:25 +01:00
2014-04-03 16:21:23 -07:00
2015-09-05 19:37:22 +02:00
2015-11-08 14:12:23 +01:00
2015-09-05 13:19:10 +02:00
2015-09-05 13:19:10 +02:00
2015-06-25 01:13:36 +02:00
2015-09-05 13:19:05 +02:00
2015-09-05 13:19:10 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 19:36:21 +02:00
2015-04-17 09:04:02 -04:00
2015-06-25 01:13:44 +02:00
2015-04-17 09:03:59 -04:00
2015-06-25 01:13:38 +02:00
2015-09-05 13:19:06 +02:00
2015-09-05 13:19:09 +02:00
2014-10-20 16:21:31 +02:00
2015-06-19 20:03:20 +02:00
2015-09-05 13:19:06 +02:00
2015-06-19 20:03:21 +02:00
2015-06-25 01:13:42 +02:00
2015-09-05 13:19:08 +02:00
2015-09-05 13:19:08 +02:00
2014-10-20 16:21:31 +02:00
2014-11-21 12:00:00 -08:00
2014-10-20 16:21:31 +02:00
2015-09-05 13:19:06 +02:00
2014-10-20 16:21:31 +02:00
2015-06-21 21:53:59 +02:00
2015-04-17 09:04:02 -04:00
2014-10-20 16:21:31 +02:00
2015-09-05 13:19:10 +02:00
2014-10-20 16:21:31 +02:00
2015-06-25 01:13:36 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 19:37:21 +02:00
2015-06-25 01:13:36 +02:00
2015-06-25 01:13:37 +02:00
2015-06-25 01:13:37 +02:00
2015-06-25 01:13:35 +02:00
2014-06-06 16:08:08 -07:00
2015-09-05 19:37:22 +02:00
2015-09-05 19:37:22 +02:00
2015-04-15 16:35:24 -07:00
2015-04-17 09:04:02 -04:00
2015-09-05 19:37:22 +02:00
2015-09-05 19:37:22 +02:00
2015-08-05 20:03:56 +08:00
2014-10-20 16:21:31 +02:00
2015-09-05 19:37:21 +02:00
2015-11-08 14:12:24 +01:00
2015-06-25 01:13:40 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 13:19:06 +02:00
2015-11-08 14:12:28 +01:00
2015-09-05 13:19:06 +02:00
2015-09-05 13:19:06 +02:00
2015-09-05 13:19:06 +02:00
2015-11-08 14:12:26 +01:00
2015-11-08 14:12:24 +01:00
2014-11-03 19:53:56 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 19:37:16 +02:00
2014-10-20 16:21:31 +02:00
2015-02-13 21:21:43 -08:00
2015-09-05 13:19:10 +02:00
2014-10-20 16:21:31 +02:00
2014-10-14 02:18:19 +02:00
2014-04-03 16:21:24 -07:00
2015-11-08 14:12:25 +01:00
2015-09-05 13:19:06 +02:00
2015-09-05 13:19:13 +02:00
2015-09-05 19:37:21 +02:00
2015-09-05 19:37:16 +02:00
2015-09-05 19:37:16 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 13:19:06 +02:00
2015-07-15 10:15:10 +08:00
2015-06-25 01:13:40 +02:00
2015-07-23 17:07:35 +01:00
2014-10-20 16:21:31 +02:00
2015-09-05 13:19:10 +02:00
2015-11-08 14:12:27 +01:00
2014-10-20 16:21:31 +02:00
2014-09-19 12:39:19 +02:00
2015-06-25 01:13:42 +02:00
2015-09-05 13:19:07 +02:00
2015-04-15 16:35:24 -07:00
2015-04-03 08:18:24 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-17 09:04:02 -04:00
2015-09-05 13:19:10 +02:00
2015-06-25 01:13:38 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 19:37:22 +02:00
2015-04-17 09:03:59 -04:00
2014-10-20 16:21:31 +02:00
2015-09-05 19:37:19 +02:00
2015-06-25 01:13:42 +02:00