path: root/drivers/of
diff options
authorSaravana Kannan <>2021-02-15 14:42:58 -0800
committerGreg Kroah-Hartman <>2021-02-19 08:51:01 +0100
commitbd6d617aac21502f3042bd472238fbe3f9b77083 (patch)
tree9362b5787273ff4cae0e2f62acf6f99f2e2b39a7 /drivers/of
parent56348560d495d2501e87db559a61de717cd3ab02 (diff)
of: property: fw_devlink: Ignore interrupts property for some configs
When CONFIG_OF_IRQ is not defined, it doesn't make sense to parse interrupts property. Also, parsing and tracking interrupts property breaks some PPC devices[1]. But none of the IRQ drivers in PPC seem ready to be converted to a proper platform (or any bus) driver. So, there's not much of a point in tracking the interrupts property for CONFIG_PPC. So, let's stop parsing interrupts for CONFIG_PPC. [1] - Fixes: 4104ca776ba3 ("of: property: Add fw_devlink support for interrupts") Reported-by: Guenter Roeck <> Tested-by: Guenter Roeck <> Acked-by: Rob Herring <> Signed-off-by: Saravana Kannan <> Link: Signed-off-by: Greg Kroah-Hartman <>
Diffstat (limited to 'drivers/of')
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/of/property.c b/drivers/of/property.c
index 79b68519fe30..5036a362f52e 100644
--- a/drivers/of/property.c
+++ b/drivers/of/property.c
@@ -1300,6 +1300,9 @@ static struct device_node *parse_interrupts(struct device_node *np,
struct of_phandle_args sup_args;
+ return NULL;
if (strcmp(prop_name, "interrupts") &&
strcmp(prop_name, "interrupts-extended"))
return NULL;