Commit 68c81fb6658bb2b8818d73f52788ea54322acb93

Authored by Simon Glass
1 parent 031a650e13

rtc: Allow child drivers

Some RTC chips have child drivers, e.g. to provide access to their
non-volatile RAM. Scan for these when binding.

Signed-off-by: Simon Glass <sjg@chromium.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/rtc/rtc-uclass.c
... ... @@ -122,5 +122,6 @@
122 122 UCLASS_DRIVER(rtc) = {
123 123 .name = "rtc",
124 124 .id = UCLASS_RTC,
  125 + .post_bind = dm_scan_fdt_dev,
125 126 };