[pinmux scripts PATCH] Make kernel driver of_device_id tables const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Stephen Warren <swarren@xxxxxxxxxx>

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@xxxxxxxxxx>
---
 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux