提交 a00b1f9d 编写于 作者: R Robert Beckett 提交者: Stefano Babic

rtc: rx8010sj: fix DM initialization

pass the udevice by reference instead of double ref
Signed-off-by: NRobert Beckett <bob.beckett@collabora.com>
上级 576434b2
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册