]> git.baikalelectronics.ru Git - kernel.git/commitdiff
irqdomain: Add empty irq_domain_check_msi_remap
authorMian Yousaf Kaukab <yousaf.kaukab@suse.com>
Thu, 2 Mar 2017 15:11:47 +0000 (16:11 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 6 Mar 2017 14:40:04 +0000 (14:40 +0000)
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>
include/linux/irqdomain.h

index 188eced6813eddb9c313fdb59016b972835e7674..9f3616085423cfca654264a4f5b9fed022431997 100644 (file)
@@ -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 */