linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [pinmux scripts PATCH] Make kernel driver of_device_id tables const
@ 2014-09-02 20:12 Stephen Warren
       [not found] ` <1409688779-23593-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Warren @ 2014-09-02 20:12 UTC (permalink / raw)
  To: swarren-3lzwWm7+Weoh9ZMKESR00Q
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

This updates to output to match the kernel drivers as of 5dfe10b43a91
"pinctrl: Make of_device_id array const".

Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 soc-to-kernel-pinctrl-driver.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/soc-to-kernel-pinctrl-driver.py b/soc-to-kernel-pinctrl-driver.py
index fd1930db0055..3dd1a989439c 100755
--- a/soc-to-kernel-pinctrl-driver.py
+++ b/soc-to-kernel-pinctrl-driver.py
@@ -385,7 +385,7 @@ static int %(soc)s_pinctrl_probe(struct platform_device *pdev)
 	return tegra_pinctrl_probe(pdev, &%(soc)s_pinctrl);
 }
 
-static struct of_device_id %(soc)s_pinctrl_of_match[] = {
+static const struct of_device_id %(soc)s_pinctrl_of_match[] = {
 	{ .compatible = "nvidia,%(soc)s-pinmux", },
 	{ },
 };
-- 
1.9.1

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

* Re: [pinmux scripts PATCH] Make kernel driver of_device_id tables const
       [not found] ` <1409688779-23593-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
@ 2014-09-03 15:06   ` Stephen Warren
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Warren @ 2014-09-03 15:06 UTC (permalink / raw)
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

On 09/02/2014 02:12 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>
> This updates to output to match the kernel drivers as of 5dfe10b43a91
> "pinctrl: Make of_device_id array const".

Applied.

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

end of thread, other threads:[~2014-09-03 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-02 20:12 [pinmux scripts PATCH] Make kernel driver of_device_id tables const Stephen Warren
     [not found] ` <1409688779-23593-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-09-03 15:06   ` Stephen Warren

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