[PATCH 05/11] dm: core: Don't inline dev_read...() calls with of-platdata

Simon Glass sjg at chromium.org
Sat Jan 30 22:27:03 CET 2021


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 at chromium.org>
---

 include/dm/read.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list