[PATCH] x86/events/amd/iommu: make iommu_pmu const and __initconst

2017-09-19 Thread Bhumika Goyal
Make this const as it is only used during a copy operation. Also, make it __initconst as it is only used during the init phase and after this it is not referenced anywhere. Signed-off-by: Bhumika Goyal --- arch/x86/events/amd/iommu.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] x86/events/amd/iommu: make iommu_pmu const and __initconst

2017-09-19 Thread Bhumika Goyal
Make this const as it is only used during a copy operation. Also, make it __initconst as it is only used during the init phase and after this it is not referenced anywhere. Signed-off-by: Bhumika Goyal --- arch/x86/events/amd/iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff