[PATCH 1/3] of/irq: add a dummy of_msi_configure if OF_IRQ=n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 <jogo@xxxxxxxxxxx>
---
 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux