linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] pinctrl: freescale: make of_device_id array const
@ 2015-03-02  7:25 Sanjeev Sharma
  2015-03-02  7:57 ` Stefan Agner
  2015-03-02 11:38 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Sanjeev Sharma @ 2015-03-02  7:25 UTC (permalink / raw)
  To: linus.walleij
  Cc: stefan, shawn.guo, linux-gpio, linux-kernel, Sanjeev Sharma,
	Sanjeev Sharma

Make of_device_id array const.

Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma@mentor.com>
---
 drivers/pinctrl/freescale/pinctrl-vf610.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/freescale/pinctrl-vf610.c b/drivers/pinctrl/freescale/pinctrl-vf610.c
index fc86276..37a0375 100644
--- a/drivers/pinctrl/freescale/pinctrl-vf610.c
+++ b/drivers/pinctrl/freescale/pinctrl-vf610.c
@@ -302,7 +302,7 @@ static struct imx_pinctrl_soc_info vf610_pinctrl_info = {
 	.flags = SHARE_MUX_CONF_REG,
 };
 
-static struct of_device_id vf610_pinctrl_of_match[] = {
+static const struct of_device_id vf610_pinctrl_of_match[] = {
 	{ .compatible = "fsl,vf610-iomuxc", },
 	{ /* sentinel */ }
 };
-- 
1.7.11.7


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

end of thread, other threads:[~2015-03-02 11:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-02  7:25 [PATCH RESEND] pinctrl: freescale: make of_device_id array const Sanjeev Sharma
2015-03-02  7:57 ` Stefan Agner
2015-03-02 11:38 ` Shawn Guo

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).