It is unconditionally called from of_platform_device_create_pdata, which
does not depend on OF_IRQ, just OF_ADDRESS.

Fixes: c706c239 ("of/platform: Assign MSI domain to platform device")
Signed-off-by: Jonas Gorski <[email protected]>
---
 include/linux/of_irq.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/linux/of_irq.h b/include/linux/of_irq.h
index d884929..7b81771 100644
--- a/include/linux/of_irq.h
+++ b/include/linux/of_irq.h
@@ -86,6 +86,10 @@ static inline void *of_irq_find_parent(struct device_node 
*child)
 {
        return NULL;
 }
+
+static inline void of_msi_configure(struct device *dev, struct device_node *np)
+{
+}
 #endif /* !CONFIG_OF */
 
 #endif /* __OF_IRQ_H */
-- 
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to