From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 30 Jan 2021 13:27:03 -0800 Subject: [PATCH 05/11] dm: core: Don't inline dev_read...() calls with of-platdata In-Reply-To: <20210121205716.964652-6-sjg@chromium.org> References: <20210121205716.964652-6-sjg@chromium.org> <20210121205716.964652-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- include/dm/read.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Applied to u-boot-dm, thanks!