diff mbox series

[v3,12/25] libpdbg: Register cronus drivers with cronus backend

Message ID 20200417070749.276754-13-amitay@ozlabs.org
State Superseded
Headers show
Series Add sbefifo backend | expand

Commit Message

Amitay Isaacs April 17, 2020, 7:07 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
Reviewed-by: Alistair Popple <alistair@popple.id.au>
---
 libpdbg/cronus.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/libpdbg/cronus.c b/libpdbg/cronus.c
index 23d555b..eeaedc5 100644
--- a/libpdbg/cronus.c
+++ b/libpdbg/cronus.c
@@ -219,7 +219,7 @@  DECLARE_HW_UNIT(cronus_sbefifo);
 __attribute__((constructor))
 static void register_cronus(void)
 {
-	pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &cronus_pib_hw_unit);
-	pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &cronus_fsi_hw_unit);
-	pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &cronus_sbefifo_hw_unit);
+	pdbg_hwunit_register(PDBG_BACKEND_CRONUS, &cronus_pib_hw_unit);
+	pdbg_hwunit_register(PDBG_BACKEND_CRONUS, &cronus_fsi_hw_unit);
+	pdbg_hwunit_register(PDBG_BACKEND_CRONUS, &cronus_sbefifo_hw_unit);
 }