]> git.baikalelectronics.ru Git - kernel.git/commit
x86/events/amd/iommu: Make iommu_pmu const and __initconst
authorBhumika Goyal <bhumirks@gmail.com>
Tue, 19 Sep 2017 11:10:43 +0000 (16:40 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 19 Oct 2017 14:15:47 +0000 (16:15 +0200)
commit1c266e76d978b50e129ded8db6905100c7f36cb5
tree3a8ec7714f0e45c8bfe9014b5aacd1957ff40828
parent6810ec3cbc7de9c64e9d2e53b49aa351e004cde6
x86/events/amd/iommu: Make iommu_pmu const and __initconst

iommu_pmu is only used as source for a copy operation in the init code
path.

Mark it const and __initconst.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: julia.lawall@lip6.fr
Link: https://lkml.kernel.org/r/1505819443-670-1-git-send-email-bhumirks@gmail.com
arch/x86/events/amd/iommu.c