summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <yousaf.kaukab@suse.com>2017-03-02 18:11:47 +0300
committerMarc Zyngier <marc.zyngier@arm.com>2017-03-06 17:40:04 +0300
commitb3e228473e6cec7cf83b4025b4570c8066ab2dd8 (patch)
tree9bbf78f3cce974642115d9c7ef8231b739f95f06 /include
parent077dbaee9df53c597df532a08d721d03f4570f3d (diff)
downloadlinux-b3e228473e6cec7cf83b4025b4570c8066ab2dd8.tar.xz
irqdomain: Add empty irq_domain_check_msi_remap
Fix following build error for s390: drivers/vfio/vfio_iommu_type1.c: In function 'vfio_iommu_type1_attach_group': drivers/vfio/vfio_iommu_type1.c:1290:25: error: implicit declaration of function 'irq_domain_check_msi_remap' Acked-by: Marc Zyngier <marc.zyngier@arm.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@suse.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/irqdomain.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h
index 188eced6813e..9f3616085423 100644
--- a/include/linux/irqdomain.h
+++ b/include/linux/irqdomain.h
@@ -524,6 +524,10 @@ static inline struct irq_domain *irq_find_matching_fwnode(
{
return NULL;
}
+static inline bool irq_domain_check_msi_remap(void)
+{
+ return false;
+}
#endif /* !CONFIG_IRQ_DOMAIN */
#endif /* _LINUX_IRQDOMAIN_H */