From: Jisheng Zhang <jszhang@marvell.com> To: <mark.rutland@arm.com>, <lorenzo.pieralisi@arm.com> Cc: <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, Jisheng Zhang <jszhang@marvell.com> Subject: [PATCH] drivers: firmware: psci: drop duplicate const from psci_of_match Date: Thu, 12 Nov 2015 20:00:39 +0800 [thread overview] Message-ID: <1447329639-1544-1-git-send-email-jszhang@marvell.com> (raw) This is to fix below sparse warning: drivers/firmware/psci.c:427:40: warning: duplicate const Signed-off-by: Jisheng Zhang <jszhang@marvell.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 d24f35d..ae70d24 100644 --- a/drivers/firmware/psci.c +++ b/drivers/firmware/psci.c @@ -424,7 +424,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.2
WARNING: multiple messages have this Message-ID (diff)
From: jszhang@marvell.com (Jisheng Zhang) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] drivers: firmware: psci: drop duplicate const from psci_of_match Date: Thu, 12 Nov 2015 20:00:39 +0800 [thread overview] Message-ID: <1447329639-1544-1-git-send-email-jszhang@marvell.com> (raw) This is to fix below sparse warning: drivers/firmware/psci.c:427:40: warning: duplicate const Signed-off-by: Jisheng Zhang <jszhang@marvell.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 d24f35d..ae70d24 100644 --- a/drivers/firmware/psci.c +++ b/drivers/firmware/psci.c @@ -424,7 +424,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.2
next reply other threads:[~2015-11-12 12:04 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-11-12 12:00 Jisheng Zhang [this message] 2015-11-12 12:00 ` [PATCH] drivers: firmware: psci: drop duplicate const from psci_of_match Jisheng Zhang
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1447329639-1544-1-git-send-email-jszhang@marvell.com \ --to=jszhang@marvell.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=lorenzo.pieralisi@arm.com \ --cc=mark.rutland@arm.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.