From: Claudiu Beznea <claudiu.beznea@microchip.com>
To: <nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>,
<ludovic.desroches@microchip.com>, <robh+dt@kernel.org>
Cc: <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
Claudiu Beznea <claudiu.beznea@microchip.com>
Subject: [PATCH 3/7] drivers: soc: atmel: fix "__initconst should be placed after socs[]" warning
Date: Fri, 22 Jan 2021 14:21:33 +0200 [thread overview]
Message-ID: <1611318097-8970-4-git-send-email-claudiu.beznea@microchip.com> (raw)
In-Reply-To: <1611318097-8970-1-git-send-email-claudiu.beznea@microchip.com>
Fix checkpatch.pl warning: "__initconst should be placed after socs[]".
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
drivers/soc/atmel/soc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/atmel/soc.c b/drivers/soc/atmel/soc.c
index ef591b622583..9d10a526cd3c 100644
--- a/drivers/soc/atmel/soc.c
+++ b/drivers/soc/atmel/soc.c
@@ -30,7 +30,7 @@
#define AT91_CIDR_EXT BIT(31)
#define AT91_CIDR_MATCH_MASK GENMASK(30, 5)
-static const struct at91_soc __initconst socs[] = {
+static const struct at91_soc socs[] __initconst = {
#ifdef CONFIG_SOC_AT91RM9200
AT91_SOC(AT91RM9200_CIDR_MATCH, 0, "at91rm9200 BGA", "at91rm9200"),
#endif
--
2.7.4
next prev parent reply other threads:[~2021-01-22 12:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-22 12:21 [PATCH 0/7] drivers: soc: atmel: add support for sama7g5 Claudiu Beznea
2021-01-22 12:21 ` [PATCH 1/7] drivers: soc: atmel: add spdx licence identifier Claudiu Beznea
2021-01-22 14:16 ` Rob Herring
2021-01-22 12:21 ` [PATCH 2/7] drivers: soc: atmel: use GENMASK Claudiu Beznea
2021-01-22 12:21 ` Claudiu Beznea [this message]
2021-01-22 12:21 ` [PATCH 4/7] drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[] Claudiu Beznea
2021-01-22 12:21 ` [PATCH 5/7] drivers: soc: atmel: add per soc id and version match masks Claudiu Beznea
2021-01-22 12:21 ` [PATCH 6/7] dt-bindings: atmel-sysreg: add "microchip,sama7g5-chipid" Claudiu Beznea
2021-01-22 12:21 ` [PATCH 7/7] drivers: soc: atmel: add support for sama7g5 Claudiu Beznea
2021-01-26 9:16 ` [PATCH 0/7] " Nicolas Ferre
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=1611318097-8970-4-git-send-email-claudiu.beznea@microchip.com \
--to=claudiu.beznea@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ludovic.desroches@microchip.com \
--cc=nicolas.ferre@microchip.com \
--cc=robh+dt@kernel.org \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).