iommu/vt-d: fix a GCC warning
authorQian Cai <cai@lca.pw>
Thu, 21 May 2020 21:50:30 +0000 (17:50 -0400)
committerJoerg Roedel <jroedel@suse.de>
Mon, 25 May 2020 11:54:49 +0000 (13:54 +0200)
commit7809c4d5805b1d331acfe0047dd9695691d428d4
tree38501db7cf5c7676054af5e93786016ce212f118
parentbfe6240dfe4f16c20db94bc7c0ab9ffa316fb926
iommu/vt-d: fix a GCC warning

The commit 6ee1b77ba3ac ("iommu/vt-d: Add svm/sva invalidate function")
introduced a GCC warning,

drivers/iommu/intel-iommu.c:5330:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
 const static int
 ^~~~~

Fixes: 6ee1b77ba3ac0 ("iommu/vt-d: Add svm/sva invalidate function")
Signed-off-by: Qian Cai <cai@lca.pw>
Acked-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20200521215030.16938-1-cai@lca.pw
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c