From 4738f69569a06ff58aa52c8fc662367cc08b8075 Mon Sep 17 00:00:00 2001 From: SPRESENSE <41312067+SPRESENSE@users.noreply.github.com> Date: Sun, 4 Jul 2021 12:55:00 +0900 Subject: [PATCH] arch: cxd56x: pmic: Fix a compile error Replace undefined logerr to _err function. --- arch/arm/src/cxd56xx/cxd56_pmic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/cxd56xx/cxd56_pmic.c b/arch/arm/src/cxd56xx/cxd56_pmic.c index 54f5f03e66..d6d1d833c4 100644 --- a/arch/arm/src/cxd56xx/cxd56_pmic.c +++ b/arch/arm/src/cxd56xx/cxd56_pmic.c @@ -246,7 +246,7 @@ static int pmic_int_handler(int irq, void *context, void *arg) ret = work_queue(LPWORK, &g_irqwork, pmic_int_worker, NULL, 0); if (ret < 0) { - logerr("ERROR: work_queue failed: %d\n", ret); + _err("ERROR: work_queue failed: %d\n", ret); } /* Disable any further pmic interrupts */