[PATCH 5/9] dm: core: Switch the testbus driver to use a new struct

Simon Glass sjg at chromium.org
Tue Jun 28 15:37:57 CEST 2022


At present this driver uses 'priv' struct to hold 'plat' data, which is
confusing. The contents of the strct don't matter, since only dtoc is
using it. Create a new struct with the correct name.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/misc/test_drv.c | 2 +-
 include/dm/test.h       | 7 +++++++
 tools/dtoc/test_dtoc.py | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list