Commit 1d2d8de4 authored by Jisheng Zhang's avatar Jisheng Zhang Committed by Arnd Bergmann

drivers: firmware: psci: drop duplicate const from psci_of_match

This is to fix below sparse warning:
drivers/firmware/psci.c:mmm:nn: warning: duplicate const
Signed-off-by: default avatarJisheng Zhang <jszhang@marvell.com>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent c8f7341b
......@@ -563,7 +563,7 @@ static int __init psci_0_1_init(struct device_node *np)
return err;
}
static const struct of_device_id const psci_of_match[] __initconst = {
static const struct of_device_id psci_of_match[] __initconst = {
{ .compatible = "arm,psci", .data = psci_0_1_init},
{ .compatible = "arm,psci-0.2", .data = psci_0_2_init},
{ .compatible = "arm,psci-1.0", .data = psci_0_2_init},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment