summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-09-02 14:09:00 -0600
committerStephen Warren <swarren@nvidia.com>2014-09-02 14:10:50 -0600
commit74cdda13aea094627c15f8860aeaabb082b87d3a (patch)
tree5d515fe88678ed49712c45e48001f9501917deaf
parent5187a2774979b95fea91ddbbd2d5fc5f2ebc64c8 (diff)
downloadtegra-pinmux-scripts-74cdda13aea094627c15f8860aeaabb082b87d3a.tar.gz
Make kernel driver of_device_id tables const
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@nvidia.com>
-rwxr-xr-xsoc-to-kernel-pinctrl-driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/soc-to-kernel-pinctrl-driver.py b/soc-to-kernel-pinctrl-driver.py
index fd1930d..3dd1a98 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", },
{ },
};