[Pdbg] [PATCH v3 09/25] libpdbg: Register kernel drivers with kernel backend

Amitay Isaacs amitay at ozlabs.org
Fri Apr 17 17:07:33 AEST 2020


Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
 libpdbg/kernel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libpdbg/kernel.c b/libpdbg/kernel.c
index c4637a7..3024736 100644
--- a/libpdbg/kernel.c
+++ b/libpdbg/kernel.c
@@ -264,6 +264,6 @@ DECLARE_HW_UNIT(kernel_pib);
 __attribute__((constructor))
 static void register_kernel(void)
 {
-	pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &kernel_fsi_hw_unit);
-	pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &kernel_pib_hw_unit);
+	pdbg_hwunit_register(PDBG_BACKEND_KERNEL, &kernel_fsi_hw_unit);
+	pdbg_hwunit_register(PDBG_BACKEND_KERNEL, &kernel_pib_hw_unit);
 }
-- 
2.25.2



More information about the Pdbg mailing list