[PATCH] arm: gic-v3-its: Add irq UCLASS_DRIVER

Priyanka Jain priyanka.jain at nxp.com
Wed Sep 9 10:14:44 CEST 2020


This is required to fix
"Error binding driver 'gic-v3': -96"
on lx2160a platforms.

Signed-off-by: Priyanka Jain <priyanka.jain at nxp.com>
---
 arch/arm/lib/gic-v3-its.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c
index a1657e3853..6c6b7c430c 100644
--- a/arch/arm/lib/gic-v3-its.c
+++ b/arch/arm/lib/gic-v3-its.c
@@ -208,3 +208,8 @@ U_BOOT_DRIVER(gic_lpi_syscon) = {
 	.id		= UCLASS_SYSCON,
 	.of_match	= gic_lpi_syscon_ids,
 };
+
+UCLASS_DRIVER(irq) = {
+	.id = UCLASS_IRQ,
+	.name = "irq",
+};
-- 
2.17.1



More information about the U-Boot mailing list