public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drivers: firmware: psci: drop duplicate const from psci_of_match
@ 2016-04-20 10:20 Lorenzo Pieralisi
  2016-04-20 10:20 ` [PATCH 2/2] drivers: firmware: psci: make two helper functions static Lorenzo Pieralisi
  2016-04-20 10:30 ` [PATCH 1/2] drivers: firmware: psci: drop duplicate const from psci_of_match Mark Rutland
  0 siblings, 2 replies; 4+ messages in thread
From: Lorenzo Pieralisi @ 2016-04-20 10:20 UTC (permalink / raw)
  To: linux-arm-kernel

From: Jisheng Zhang <jszhang@marvell.com>

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>
---
 drivers/firmware/psci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c
index 11bfee8..0ab477ba 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},
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-25 21:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-20 10:20 [PATCH 1/2] drivers: firmware: psci: drop duplicate const from psci_of_match Lorenzo Pieralisi
2016-04-20 10:20 ` [PATCH 2/2] drivers: firmware: psci: make two helper functions static Lorenzo Pieralisi
2016-04-25 21:48   ` Arnd Bergmann
2016-04-20 10:30 ` [PATCH 1/2] drivers: firmware: psci: drop duplicate const from psci_of_match Mark Rutland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox