summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel-iommu.c
diff options
context:
space:
mode:
authorJiang Liu <jiang.liu@linux.intel.com>2014-01-06 07:18:26 +0100
committerJoerg Roedel <joro@8bytes.org>2014-01-09 12:44:16 +0100
commitb707cb027edf5b7ff1b8637c184b9a58d74e5159 (patch)
tree6262a1626449d392faa3d7c59aa54d9c81280a03 /drivers/iommu/intel-iommu.c
parentiommu/vt-d: fix wrong return value of dmar_table_init() (diff)
downloadlinux-b707cb027edf5b7ff1b8637c184b9a58d74e5159.tar.xz
linux-b707cb027edf5b7ff1b8637c184b9a58d74e5159.zip
iommu/vt-d, trivial: clean sparse warnings
Clean up most sparse warnings in Intel DMA and interrupt remapping drivers. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'drivers/iommu/intel-iommu.c')
-rw-r--r--drivers/iommu/intel-iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c
index dec715c7e525..948c6a0d0f5a 100644
--- a/drivers/iommu/intel-iommu.c
+++ b/drivers/iommu/intel-iommu.c
@@ -382,7 +382,7 @@ struct device_domain_info {
static void flush_unmaps_timeout(unsigned long data);
-DEFINE_TIMER(unmap_timer, flush_unmaps_timeout, 0, 0);
+static DEFINE_TIMER(unmap_timer, flush_unmaps_timeout, 0, 0);
#define HIGH_WATER_MARK 250
struct deferred_flush_tables {