@@ -31,7 +31,7 @@ static const struct udevice_id imx5_pinctrl_match[] = {
{ /* sentinel */ }
};
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx5_pinctrl_ops = {
.set_state = imx_pinctrl_set_state,
};
@@ -42,6 +42,6 @@ U_BOOT_DRIVER(imx5_pinctrl) = {
.probe = imx5_pinctrl_probe,
.remove = imx_pinctrl_remove,
.priv_auto = sizeof(struct imx_pinctrl_priv),
- .ops = &imx_pinctrl_ops,
+ .ops = &imx5_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,
};
@@ -40,7 +40,7 @@ static const struct udevice_id imx6_pinctrl_match[] = {
{ /* sentinel */ }
};
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx6_pinctrl_ops = {
.set_state = imx_pinctrl_set_state,
};
@@ -51,7 +51,7 @@ U_BOOT_DRIVER(fsl_imx6q_iomuxc) = {
.probe = imx6_pinctrl_probe,
.remove = imx_pinctrl_remove,
.priv_auto = sizeof(struct imx_pinctrl_priv),
- .ops = &imx_pinctrl_ops,
+ .ops = &imx6_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,
};
@@ -28,7 +28,7 @@ static const struct udevice_id imx7_pinctrl_match[] = {
{ /* sentinel */ }
};
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx7_pinctrl_ops = {
.set_state = imx_pinctrl_set_state,
};
@@ -39,6 +39,6 @@ U_BOOT_DRIVER(imx7_pinctrl) = {
.probe = imx7_pinctrl_probe,
.remove = imx_pinctrl_remove,
.priv_auto = sizeof(struct imx_pinctrl_priv),
- .ops = &imx_pinctrl_ops,
+ .ops = &imx7_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,
};
@@ -32,7 +32,7 @@ static const struct udevice_id imx7ulp_pinctrl_match[] = {
{ /* sentinel */ }
};
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx7ulp_pinctrl_ops = {
.set_state = imx_pinctrl_set_state,
};
@@ -43,6 +43,6 @@ U_BOOT_DRIVER(imx7ulp_pinctrl) = {
.probe = imx7ulp_pinctrl_probe,
.remove = imx_pinctrl_remove,
.priv_auto = sizeof(struct imx_pinctrl_priv),
- .ops = &imx_pinctrl_ops,
+ .ops = &imx7ulp_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,
};
@@ -29,7 +29,7 @@ static const struct udevice_id imx8_pinctrl_match[] = {
{ /* sentinel */ }
};
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx8_pinctrl_ops = {
.set_state = imx_pinctrl_set_state,
};
@@ -40,6 +40,6 @@ U_BOOT_DRIVER(imx8_pinctrl) = {
.probe = imx8_pinctrl_probe,
.remove = imx_pinctrl_remove,
.priv_auto = sizeof(struct imx_pinctrl_priv),
- .ops = &imx_pinctrl_ops,
+ .ops = &imx8_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,
};
@@ -26,7 +26,7 @@ static const struct udevice_id imx8m_pinctrl_match[] = {
{ /* sentinel */ }
};
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx8m_pinctrl_ops = {
.set_state = imx_pinctrl_set_state,
};
@@ -37,6 +37,6 @@ U_BOOT_DRIVER(imx8mq_pinctrl) = {
.probe = imx8mq_pinctrl_probe,
.remove = imx_pinctrl_remove,
.priv_auto = sizeof(struct imx_pinctrl_priv),
- .ops = &imx_pinctrl_ops,
+ .ops = &imx8m_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,
};
@@ -31,7 +31,7 @@ static const struct udevice_id imx8ulp_pinctrl_match[] = {
{ /* sentinel */ }
};
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx8ulp_pinctrl_ops = {
.set_state = imx_pinctrl_set_state,
};
@@ -42,6 +42,6 @@ U_BOOT_DRIVER(imx8ulp_pinctrl) = {
.probe = imx8ulp_pinctrl_probe,
.remove = imx_pinctrl_remove,
.priv_auto = sizeof(struct imx_pinctrl_priv),
- .ops = &imx_pinctrl_ops,
+ .ops = &imx8ulp_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,
};
@@ -26,7 +26,7 @@ static const struct udevice_id imx93_pinctrl_match[] = {
{ /* sentinel */ }
};
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imx93_pinctrl_ops = {
.set_state = imx_pinctrl_set_state,
};
@@ -37,6 +37,6 @@ U_BOOT_DRIVER(imx93_pinctrl) = {
.probe = imx93_pinctrl_probe,
.remove = imx_pinctrl_remove,
.priv_auto = sizeof(struct imx_pinctrl_priv),
- .ops = &imx_pinctrl_ops,
+ .ops = &imx93_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,
};
@@ -27,7 +27,7 @@ static const struct udevice_id imxrt_pinctrl_match[] = {
{ /* sentinel */ }
};
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops imxrt_pinctrl_ops = {
.set_state = imx_pinctrl_set_state,
};
@@ -38,6 +38,6 @@ U_BOOT_DRIVER(imxrt_pinctrl) = {
.probe = imxrt_pinctrl_probe,
.remove = imx_pinctrl_remove,
.priv_auto = sizeof(struct imx_pinctrl_priv),
- .ops = &imx_pinctrl_ops,
+ .ops = &imxrt_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,
};
@@ -27,7 +27,7 @@ static const struct udevice_id vf610_pinctrl_match[] = {
{ /* sentinel */ }
};
-static const struct pinctrl_ops imx_pinctrl_ops = {
+static const struct pinctrl_ops vf610_pinctrl_ops = {
.set_state = imx_pinctrl_set_state,
};
@@ -38,6 +38,6 @@ U_BOOT_DRIVER(vf610_pinctrl) = {
.probe = vf610_pinctrl_probe,
.remove = imx_pinctrl_remove,
.priv_auto = sizeof(struct imx_pinctrl_priv),
- .ops = &imx_pinctrl_ops,
+ .ops = &vf610_pinctrl_ops,
.flags = DM_FLAG_PRE_RELOC,
};
Rename the structure instances to match driver names, so they can be easily looked up e.g. in objdump and readelf outputs. No functional change. Signed-off-by: Marek Vasut <marex@denx.de> --- Cc: Alice Guo <alice.guo@nxp.com> Cc: Jesse Taube <mr.bossman075@gmail.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Peter Robinson <pbrobinson@gmail.com> Cc: Tim Harvey <tharvey@gateworks.com> Cc: Tom Rini <trini@konsulko.com> Cc: u-boot@lists.denx.de --- drivers/pinctrl/nxp/pinctrl-imx5.c | 4 ++-- drivers/pinctrl/nxp/pinctrl-imx6.c | 4 ++-- drivers/pinctrl/nxp/pinctrl-imx7.c | 4 ++-- drivers/pinctrl/nxp/pinctrl-imx7ulp.c | 4 ++-- drivers/pinctrl/nxp/pinctrl-imx8.c | 4 ++-- drivers/pinctrl/nxp/pinctrl-imx8m.c | 4 ++-- drivers/pinctrl/nxp/pinctrl-imx8ulp.c | 4 ++-- drivers/pinctrl/nxp/pinctrl-imx93.c | 4 ++-- drivers/pinctrl/nxp/pinctrl-imxrt.c | 4 ++-- drivers/pinctrl/nxp/pinctrl-vf610.c | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-)