[PATCH v4 17/42] sandbox: i2c: Move platdata structs to header files

Simon Glass sjg at chromium.org
Wed Mar 17 02:28:33 CET 2021


At present the structs used by these drivers are declared in the C files
and so are not accessible to dtoc. Move them to header files, as required.

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

(no changes since v1)

 arch/sandbox/include/asm/i2c.h | 15 +++++++++++++++
 arch/sandbox/include/asm/rtc.h | 24 ++++++++++++++++++++++++
 drivers/i2c/i2c-emul-uclass.c  | 13 +------------
 drivers/rtc/i2c_rtc_emul.c     | 19 -------------------
 4 files changed, 40 insertions(+), 31 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list