summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/rtc
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-10-12 15:14:05 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-11-08 14:12:29 +0100
commitdbb812b141f3bf3dbea75353da799da3d3373d53 (patch)
tree502b66d239eef0f75b6b1dbff4b4ecf7962e6796 /Documentation/devicetree/bindings/rtc
parent921372bf5a7c03a05de25a083b852c6b5d9d97a7 (diff)
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>
Diffstat (limited to 'Documentation/devicetree/bindings/rtc')
0 files changed, 0 insertions, 0 deletions