From: Jonas Gorski Subject: [PATCH 1/3] of/irq: add a dummy of_msi_configure if OF_IRQ=n Date: Mon, 7 Sep 2015 14:37:15 +0200 Message-ID: <1441629437-23769-2-git-send-email-jogo@openwrt.org> References: <1441629437-23769-1-git-send-email-jogo@openwrt.org> Return-path: In-Reply-To: <1441629437-23769-1-git-send-email-jogo-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Rob Herring , Frank Rowand , Grant Likely , Marc Zyngier List-Id: devicetree@vger.kernel.org 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 --- 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html