dm: ofnode: Fix compile breakage with OF_CHECKS enabled
authorStefan Roese <sr@denx.de>
Wed, 23 Sep 2020 06:23:27 +0000 (08:23 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Oct 2020 15:07:54 +0000 (09:07 -0600)
commit45dbe75da6fbc3de280021bf4b5c9dfc94c70f8f
tree9ea809f8dd095cede8d393bb2872d3d73a1255e2
parente9b6b2c77dd57b591d025f6895a779930a39a5ff
dm: ofnode: Fix compile breakage with OF_CHECKS enabled

Include missing log.h and change _ofnode_to_np() to ofnode_to_np() so
that compiling with OF_CHECKS enabled does not break.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/dm/ofnode.h