diff options
author | Jisheng Zhang <jszhang@marvell.com> | 2016-04-20 13:20:27 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2016-04-26 00:47:36 +0300 |
commit | 1d2d8de44a6c20af262b4c3d3b93ef7ec3c5488e (patch) | |
tree | bfd7a5ee782da1caa7a4e6d0174ee15f03313314 /drivers/firmware | |
parent | c8f7341b29126486476dfc669f8f00ebefbe1709 (diff) | |
download | linux-1d2d8de44a6c20af262b4c3d3b93ef7ec3c5488e.tar.xz |
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>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/psci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c index 11bfee8b79a9..0ab477ba6564 100644 --- a/drivers/firmware/psci.c +++ b/drivers/firmware/psci.c @@ -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}, |