1
0
Fork 0

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: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
hifive-unleashed-5.1
Jisheng Zhang 2016-04-20 11:20:27 +01:00 committed by Arnd Bergmann
parent c8f7341b29
commit 1d2d8de44a
1 changed files with 1 additions and 1 deletions

View File

@ -563,7 +563,7 @@ out_put_node:
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},