[Pdbg] [PATCH v2 08/19] libpdbg: Register host drivers with host backend

Amitay Isaacs amitay at ozlabs.org
Tue Apr 7 16:16:02 AEST 2020


Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
 libpdbg/host.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libpdbg/host.c b/libpdbg/host.c
index d02b53d..63a0d5b 100644
--- a/libpdbg/host.c
+++ b/libpdbg/host.c
@@ -127,5 +127,5 @@ DECLARE_HW_UNIT(host_pib);
 __attribute__((constructor))
 static void register_host(void)
 {
-	pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &host_pib_hw_unit);
+	pdbg_hwunit_register(PDBG_BACKEND_HOST, &host_pib_hw_unit);
 }
-- 
2.25.2



More information about the Pdbg mailing list