]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Don't inline dev_read...() calls with of-platdata
authorSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2021 20:57:10 +0000 (13:57 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2021 21:25:41 +0000 (14:25 -0700)
commiteec28312e885c37811649e8555d4fbe93dfd1666
tree2bc4b1672c886d2cf751c25bac4dab58355829a9
parentd3402957dca34e629cbf8fe0dad0a2f3d172913b
dm: core: Don't inline dev_read...() calls with of-platdata

At present if these calls are used with of-platdata, a confusing error is
produced, referring to a function not actually called by the code causing
the problem.

Fix this by not inlining, so that the error mentions the dev_read_...()
function and it is more obvious what is going on.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/dm/read.h