[Pdbg] [PATCH v2 06/19] libpdbg: Register i2c driver with i2c backend
Amitay Isaacs
amitay at ozlabs.org
Tue Apr 7 16:16:00 AEST 2020
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
libpdbg/i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libpdbg/i2c.c b/libpdbg/i2c.c
index 3d0b80a..e3d508b 100644
--- a/libpdbg/i2c.c
+++ b/libpdbg/i2c.c
@@ -177,5 +177,5 @@ DECLARE_HW_UNIT(p8_i2c_pib);
__attribute__((constructor))
static void register_i2c(void)
{
- pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p8_i2c_pib_hw_unit);
+ pdbg_hwunit_register(PDBG_BACKEND_I2C, &p8_i2c_pib_hw_unit);
}
--
2.25.2
More information about the Pdbg
mailing list