* [PATCH] pinctrl: zynq: add static const to zynq_pctrl_groups
@ 2015-05-28 12:57 Masahiro Yamada
2015-05-28 16:09 ` Sören Brinkmann
2015-06-02 11:31 ` Linus Walleij
0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2015-05-28 12:57 UTC (permalink / raw)
To: linux-arm-kernel
This array is only referenced in this file and never updated.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
drivers/pinctrl/pinctrl-zynq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-zynq.c b/drivers/pinctrl/pinctrl-zynq.c
index a687f24..93d3774 100644
--- a/drivers/pinctrl/pinctrl-zynq.c
+++ b/drivers/pinctrl/pinctrl-zynq.c
@@ -369,7 +369,7 @@ static const unsigned int usb1_0_pins[] = {40, 41, 42, 43, 44, 45, 46, 47, 48,
.npins = ARRAY_SIZE(nm ## _pins), \
}
-struct zynq_pctrl_group zynq_pctrl_groups[] = {
+static const struct zynq_pctrl_group zynq_pctrl_groups[] = {
DEFINE_ZYNQ_PINCTRL_GRP(ethernet0_0),
DEFINE_ZYNQ_PINCTRL_GRP(ethernet1_0),
DEFINE_ZYNQ_PINCTRL_GRP(mdio0_0),
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] pinctrl: zynq: add static const to zynq_pctrl_groups
2015-05-28 12:57 [PATCH] pinctrl: zynq: add static const to zynq_pctrl_groups Masahiro Yamada
@ 2015-05-28 16:09 ` Sören Brinkmann
2015-06-02 11:31 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Sören Brinkmann @ 2015-05-28 16:09 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, 2015-05-28 at 09:57PM +0900, Masahiro Yamada wrote:
> This array is only referenced in this file and never updated.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: S?ren Brinkmann <soren.brinkmann@xilinx.com>
S?ren
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] pinctrl: zynq: add static const to zynq_pctrl_groups
2015-05-28 12:57 [PATCH] pinctrl: zynq: add static const to zynq_pctrl_groups Masahiro Yamada
2015-05-28 16:09 ` Sören Brinkmann
@ 2015-06-02 11:31 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2015-06-02 11:31 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, May 28, 2015 at 2:57 PM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> This array is only referenced in this file and never updated.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Patch applied with S?ren's ACK.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-02 11:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-28 12:57 [PATCH] pinctrl: zynq: add static const to zynq_pctrl_groups Masahiro Yamada
2015-05-28 16:09 ` Sören Brinkmann
2015-06-02 11:31 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox