Messages in this thread Patch in this message | | | From | Kiran Padwal <> | Subject | [PATCH 05/11] pinctrl: imx35: Make of_device_id array const | Date | Mon, 11 Aug 2014 21:08:33 +0530 |
| |
Make of_device_id array const, because all OF functions handle it as const. --- drivers/pinctrl/pinctrl-imx35.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-imx35.c b/drivers/pinctrl/pinctrl-imx35.c index 278a04a..6bfbcd0 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 */ } }; -- 1.7.9.5
| |