dm: Fix default address cells return value
authorMatthias Brugger <mbrugger@suse.com>
Thu, 5 Sep 2019 08:48:49 +0000 (10:48 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Oct 2019 14:40:02 +0000 (08:40 -0600)
commit7a3f15e7181cf5a9667ff410260397f0e51c9020
tree1096a310c239cb83683813be04a199ab21aa0b8d
parent8076fc298ee1004cfbd9f9f4882931aff1ffda06
dm: Fix default address cells return value

Default address cells value on the livetree access function
returns the wrong value. Fix this so that the value returned
corresponds to the device tree specification.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
include/dm/of.h