pinctrl: freescale: make of_device_id array const
authorSanjeev Sharma <sanjeev_sharma@mentor.com>
Tue, 3 Feb 2015 10:41:59 +0000 (16:11 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 9 Mar 2015 17:10:56 +0000 (18:10 +0100)
Make of_device_id array const.

Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma@mentor.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/pinctrl-vf610.c

index fc86276892fd3f0fb7a152497ac0085f1e833816..37a037543d299115a09e6a4106f1592acc9566a9 100644 (file)
@@ -302,7 +302,7 @@ static struct imx_pinctrl_soc_info vf610_pinctrl_info = {
        .flags = SHARE_MUX_CONF_REG,
 };
 
-static struct of_device_id vf610_pinctrl_of_match[] = {
+static const struct of_device_id vf610_pinctrl_of_match[] = {
        { .compatible = "fsl,vf610-iomuxc", },
        { /* sentinel */ }
 };