From: Keir Fraser Date: Tue, 14 Oct 2008 10:49:08 +0000 (+0100) Subject: iommu: Fix the build. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14075 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fdbb1df816509d9be27b3b8a05457bfc1fbe6e90;p=xen.git iommu: Fix the build. Signed-off-by: Keir Fraser --- diff --git a/xen/include/asm-x86/hvm/iommu.h b/xen/include/asm-x86/hvm/iommu.h index 283c9200a7..f0951a0fd7 100644 --- a/xen/include/asm-x86/hvm/iommu.h +++ b/xen/include/asm-x86/hvm/iommu.h @@ -18,6 +18,8 @@ static inline struct iommu_ops *iommu_get_ops(void) default: BUG(); } + + return NULL; } static inline int iommu_hardware_setup(void) @@ -31,5 +33,8 @@ static inline int iommu_hardware_setup(void) default: BUG(); } + + return 0; } + #endif /* __ASM_X86_HVM_IOMMU_H__ */