summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@marvell.com>2016-04-20 12:20:27 +0200
committerArnd Bergmann <arnd@arndb.de>2016-04-25 23:47:36 +0200
commit1d2d8de44a6c20af262b4c3d3b93ef7ec3c5488e (patch)
treebfd7a5ee782da1caa7a4e6d0174ee15f03313314 /drivers
parentMerge tag 'tegra-for-4.7-soc' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadlinux-1d2d8de44a6c20af262b4c3d3b93ef7ec3c5488e.tar.xz
linux-1d2d8de44a6c20af262b4c3d3b93ef7ec3c5488e.zip
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')
-rw-r--r--drivers/firmware/psci.c2
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},