iommu: Fix the build.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 14 Oct 2008 10:49:08 +0000 (11:49 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 14 Oct 2008 10:49:08 +0000 (11:49 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/include/asm-x86/hvm/iommu.h

index 283c9200a7fd9b9e103209c9d8265ba77bab0b9c..f0951a0fd7d10d61f1a75134c8002890945bdd82 100644 (file)
@@ -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__ */