aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-11-15 06:48:29 -0500
committerJoerg Roedel <joerg.roedel@amd.com>2011-11-15 06:48:29 -0500
commit95bdaf71ccf2cb4bba0c9a3d2baea0e7916f466b (patch)
treed4fb2f41d924c01fb59f596caa6f500786c5b538
parentbcb71abe7d4c5a0d0368c67da0a7def4fc73497a (diff)
iommu: Fix compile error with !IOMMU_API
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
-rw-r--r--include/linux/iommu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index 93617e7779a1..0f318fd549be 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -181,7 +181,7 @@ static inline void iommu_set_fault_handler(struct iommu_domain *domain,
181{ 181{
182} 182}
183 183
184static inline int iommu_device_group(struct device *dev, unsigned int *groupid); 184static inline int iommu_device_group(struct device *dev, unsigned int *groupid)
185{ 185{
186 return -ENODEV; 186 return -ENODEV;
187} 187}