[Pdbg] [PATCH v2 06/19] libpdbg: Register i2c driver with i2c backend
Alistair Popple
alistair at popple.id.au
Thu Apr 9 12:23:23 AEST 2020
Reviewed-by: Alistair Popple <alistair at popple.id.au>
On Tuesday, 7 April 2020 4:16:00 PM AEST Amitay Isaacs wrote:
> 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);
> }
More information about the Pdbg
mailing list