Commit 5d04966c authored by Zhang Zekun's avatar Zhang Zekun
Browse files

iommu/arm-smmu-v3: Fix the compile warning

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IAGJ97



---------------------------------------

Fix the following compile warning:

WARNING: modpost: vmlinux.o(.text+0x854620):
...
The function arm_smmu_device_probe() references
the variable __initdata arm_smmu_v3_plat_info.
This is often because arm_smmu_device_probe lacks a __initdata
annotation or the annotation of arm_smmu_v3_plat_info is wrong.

Fixes: 3bced619 ("iommu/arm-smmu-v3: Change the style to identify the the hisi_platform")
Signed-off-by: default avatarZhang Zekun <zhangzekun11@huawei.com>
parent 43e1b619
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5244,7 +5244,7 @@ static int arm_smmu_device_hw_probe(struct arm_smmu_device *smmu)
}

#ifdef CONFIG_ACPI
static struct acpi_platform_list arm_smmu_v3_plat_info[] __initdata = {
static struct acpi_platform_list arm_smmu_v3_plat_info[] = {
	/* HiSilicon Hip09 Platform */
	{"HISI  ", "HIP09   ", 0, ACPI_SIG_IORT, greater_than_or_equal,
	 "Erratum #162100602", 0},