summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-imx35.c
diff options
context:
space:
mode:
authorKiran Padwal <kiran.padwal21@gmail.com>2014-08-11 16:47:50 +0530
committerLinus Walleij <linus.walleij@linaro.org>2014-08-29 07:13:04 +0200
commit5dfe10b43a91642845dcf281e02ca43ffde0d750 (patch)
treefeb32e5b870f26d1adc8fff5f64a6bba87e1a058 /drivers/pinctrl/pinctrl-imx35.c
parentf3ababa8ba2ace6668a24803910577a49dc146dd (diff)
pinctrl: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal <kiran.padwal21@gmail.com> Acked-by: Thierry Reding <treding@nvidia.com> Acked-by: Stephen Warren <swarren@nvidia.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-imx35.c')
-rw-r--r--drivers/pinctrl/pinctrl-imx35.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-imx35.c b/drivers/pinctrl/pinctrl-imx35.c
index 278a04ae8940..6bfbcd0112c1 100644
--- a/drivers/pinctrl/pinctrl-imx35.c
+++ b/drivers/pinctrl/pinctrl-imx35.c
@@ -1005,7 +1005,7 @@ static struct imx_pinctrl_soc_info imx35_pinctrl_info = {
.npins = ARRAY_SIZE(imx35_pinctrl_pads),
};
-static struct of_device_id imx35_pinctrl_of_match[] = {
+static const struct of_device_id imx35_pinctrl_of_match[] = {
{ .compatible = "fsl,imx35-iomuxc", },
{ /* sentinel */ }
};