[U-Boot] [PATCH v2 23/41] rtc: rx8010sj: fix DM initialization
Robert Beckett
bob.beckett at collabora.com
Wed Oct 23 18:21:44 UTC 2019
pass the udevice by reference instead of double ref
Signed-off-by: Robert Beckett <bob.beckett at collabora.com>
---
drivers/rtc/rx8010sj.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/rx8010sj.c b/drivers/rtc/rx8010sj.c
index 81560e16ce..2876692a37 100644
--- a/drivers/rtc/rx8010sj.c
+++ b/drivers/rtc/rx8010sj.c
@@ -349,7 +349,7 @@ void rtc_init(void)
static int rx8010sj_probe(struct udevice *dev)
{
- rx8010sj_rtc_init(&dev);
+ rx8010sj_rtc_init(dev);
return 0;
}
--
2.20.1
More information about the U-Boot
mailing list