commit | 95bdaf71ccf2cb4bba0c9a3d2baea0e7916f466b | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Tue Nov 15 12:48:29 2011 +0100 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Tue Nov 15 12:48:29 2011 +0100 |
tree | d4fb2f41d924c01fb59f596caa6f500786c5b538 | |
parent | bcb71abe7d4c5a0d0368c67da0a7def4fc73497a [diff] [blame] |
iommu: Fix compile error with !IOMMU_API Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index 93617e7..0f318fd54 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h
@@ -181,7 +181,7 @@ { } -static inline int iommu_device_group(struct device *dev, unsigned int *groupid); +static inline int iommu_device_group(struct device *dev, unsigned int *groupid) { return -ENODEV; }