From 83ce906e7e8afe4c6e20dfe58450241fd0c10956 Mon Sep 17 00:00:00 2001 From: Michael Ellerman Date: Sat, 23 Nov 2024 14:14:14 +1100 Subject: [PATCH] Don't warn about missing size-cells on PMAC --- drivers/of/base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/base.c b/drivers/of/base.c index a8b0c42bdc8e9..54b634ad01bc3 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -89,6 +89,7 @@ static bool __of_node_is_type(const struct device_node *np, const char *type) #define EXCLUDED_DEFAULT_CELLS_PLATFORMS ( \ IS_ENABLED(CONFIG_SPARC) \ + || IS_ENABLED(CONFIG_PPC_PMAC) \ ) int of_bus_n_addr_cells(struct device_node *np)