diff options
author | Robert Beckett <bob.beckett@collabora.com> | 2019-10-28 18:49:15 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-12-27 14:33:11 +0100 |
commit | a00b1f9d7ad66d20669ccd5461dc2360a2b85999 (patch) | |
tree | 9e9ea2989071a3ea6caf3d89e51280ab965d6740 /drivers/rtc | |
parent | 576434b2056b3fb01438da2ee210048ea80233bf (diff) | |
download | u-boot-a00b1f9d7ad66d20669ccd5461dc2360a2b85999.zip u-boot-a00b1f9d7ad66d20669ccd5461dc2360a2b85999.tar.gz u-boot-a00b1f9d7ad66d20669ccd5461dc2360a2b85999.tar.bz2 |
rtc: rx8010sj: fix DM initialization
pass the udevice by reference instead of double ref
Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rx8010sj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rx8010sj.c b/drivers/rtc/rx8010sj.c index 81560e1..2876692 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; } |