summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/fdt_powerpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/fdt/fdt_powerpc.c')
-rw-r--r--sys/dev/fdt/fdt_powerpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fdt/fdt_powerpc.c b/sys/dev/fdt/fdt_powerpc.c
index ac81c08..d3e9d4e 100644
--- a/sys/dev/fdt/fdt_powerpc.c
+++ b/sys/dev/fdt/fdt_powerpc.c
@@ -123,7 +123,8 @@ fdt_pic_decode_openpic(phandle_t node, pcell_t *intr, int *interrupt,
int *trig, int *pol)
{
- if (!fdt_is_compatible(node, "chrp,open-pic"))
+ if (!fdt_is_compatible(node, "chrp,open-pic") &&
+ !fdt_is_type(node, "open-pic"))
return (ENXIO);
/*
OpenPOWER on IntegriCloud