aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/interface.c
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2021-09-28 08:03:32 +0000
committerAlexandre Belloni <[email protected]>2021-10-23 21:50:27 +0000
commit814691c7f7d1f958ac30c3dca5070a95c1f658dd (patch)
tree2f1459862203d20f4db9b73e3b22676e5188da53 /drivers/rtc/interface.c
parentrtc: pcf8523: add BSM support (diff)
downloadkernel-814691c7f7d1f958ac30c3dca5070a95c1f658dd.tar.gz
kernel-814691c7f7d1f958ac30c3dca5070a95c1f658dd.zip
rtc: sun6i: Allow probing without an early clock provider
Some SoCs have an RTC supported by this RTC driver, but do not have an early clock provider declared here. Currently, this prevents the RTC driver from probing, because it expects a global struct to already be allocated. Fix probing the driver by copying the missing pieces from the clock provider setup function, replacing them with the devm variants. Signed-off-by: Samuel Holland <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/rtc/interface.c')
0 files changed, 0 insertions, 0 deletions