Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5dfe10b4 authored by Kiran Padwal's avatar Kiran Padwal Committed by Linus Walleij
Browse files

pinctrl: Make of_device_id array const



Make of_device_id array const, because all OF functions handle it as
const.

Signed-off-by: default avatarKiran Padwal <kiran.padwal21@gmail.com>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent f3ababa8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -272,7 +272,7 @@ static int imx23_pinctrl_probe(struct platform_device *pdev)
	return mxs_pinctrl_probe(pdev, &imx23_pinctrl_data);
}

static struct of_device_id imx23_pinctrl_of_match[] = {
static const struct of_device_id imx23_pinctrl_of_match[] = {
	{ .compatible = "fsl,imx23-pinctrl", },
	{ /* sentinel */ }
};
+1 −1
Original line number Diff line number Diff line
@@ -315,7 +315,7 @@ static struct imx_pinctrl_soc_info imx25_pinctrl_info = {
	.npins = ARRAY_SIZE(imx25_pinctrl_pads),
};

static struct of_device_id imx25_pinctrl_of_match[] = {
static const struct of_device_id imx25_pinctrl_of_match[] = {
	{ .compatible = "fsl,imx25-iomuxc", },
	{ /* sentinel */ }
};
+1 −1
Original line number Diff line number Diff line
@@ -389,7 +389,7 @@ static struct imx1_pinctrl_soc_info imx27_pinctrl_info = {
	.npins = ARRAY_SIZE(imx27_pinctrl_pads),
};

static struct of_device_id imx27_pinctrl_of_match[] = {
static const struct of_device_id imx27_pinctrl_of_match[] = {
	{ .compatible = "fsl,imx27-iomuxc", },
	{ /* sentinel */ }
};
+1 −1
Original line number Diff line number Diff line
@@ -388,7 +388,7 @@ static int imx28_pinctrl_probe(struct platform_device *pdev)
	return mxs_pinctrl_probe(pdev, &imx28_pinctrl_data);
}

static struct of_device_id imx28_pinctrl_of_match[] = {
static const struct of_device_id imx28_pinctrl_of_match[] = {
	{ .compatible = "fsl,imx28-pinctrl", },
	{ /* sentinel */ }
};
+1 −1
Original line number Diff line number Diff line
@@ -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 */ }
};
Loading