summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2012-09-03 01:31:45 +0400
committerIngo Molnar <mingo@kernel.org>2012-09-05 12:52:26 +0400
commit2b11afd1ab502d959ae8d6d5812923151b5bc505 (patch)
treeb33bb7189545a856edc7b22cbf2dfeee21674712 /arch/x86
parent5c7d03e99cb1ed449328ed9fba0c632944d39e7e (diff)
downloadlinux-2b11afd1ab502d959ae8d6d5812923151b5bc505.tar.xz
x86/iommu: Drop duplicate const in __IOMMU_INIT
It's redundant and makes sparse complain about it. Signed-off-by: Mathias Krause <minipli@googlemail.com> Cc: Joerg Roedel <joerg.roedel@amd.com> Link: http://lkml.kernel.org/r/1346621506-30857-7-git-send-email-minipli@googlemail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/iommu_table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/iommu_table.h b/arch/x86/include/asm/iommu_table.h
index f229b13a5f30..bbf8fb2e3920 100644
--- a/arch/x86/include/asm/iommu_table.h
+++ b/arch/x86/include/asm/iommu_table.h
@@ -48,7 +48,7 @@ struct iommu_table_entry {
#define __IOMMU_INIT(_detect, _depend, _early_init, _late_init, _finish)\
- static const struct iommu_table_entry const \
+ static const struct iommu_table_entry \
__iommu_entry_##_detect __used \
__attribute__ ((unused, __section__(".iommu_table"), \
aligned((sizeof(void *))))) \