From: Robert Beckett Date: Mon, 28 Oct 2019 18:49:15 +0000 (+0000) Subject: rtc: rx8010sj: fix DM initialization X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=a00b1f9d7ad66d20669ccd5461dc2360a2b85999;p=u-boot.git rtc: rx8010sj: fix DM initialization pass the udevice by reference instead of double ref Signed-off-by: Robert Beckett --- 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; }