diff mbox series

[10/23] libpdbg: Register kernel drivers with kernel backend

Message ID 20200414024750.20170-11-amitay@ozlabs.org
State Superseded
Headers show
Series Enable drivers per backend | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (6ae2ba655ca5e24b403a33bf15dff7261d3e7052)
snowpatch_ozlabs/build-multiarch success Test build-multiarch on branch master

Commit Message

Amitay Isaacs April 14, 2020, 2:47 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 libpdbg/kernel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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);
 }