]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - arch/x86/cpu/irq.c
x86: Give each driver an IRQ type
[thirdparty/u-boot.git] / arch / x86 / cpu / irq.c
index ed9938f7f7f547c7dd99b7a12cf486465f7f152e..bafa0310822d5b133f81dbad160fac9b56081b57 100644 (file)
@@ -7,6 +7,7 @@
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
+#include <irq.h>
 #include <malloc.h>
 #include <asm/io.h>
 #include <asm/irq.h>
@@ -351,7 +352,7 @@ int irq_router_probe(struct udevice *dev)
 }
 
 static const struct udevice_id irq_router_ids[] = {
-       { .compatible = "intel,irq-router" },
+       { .compatible = "intel,irq-router", .data = X86_IRQT_BASE },
        { }
 };