From: Stephen Warren <[email protected]>

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

Signed-off-by: Stephen Warren <[email protected]>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to