Skip to content

Commit 7edb8ab

Browse files
marckleinebuddegregkh
authored andcommitted
net: fec: rename struct fec_devinfo fec_imx6x_info -> fec_imx6sx_info
[ Upstream commit 4e8594a ] In da72218 ("net: fec: set GPR bit on suspend by DT configuration.") the platform_device_id fec_devtype::driver_data was converted from holding the quirks to a pointing to struct fec_devinfo. The struct fec_devinfo holding the information for the i.MX6SX was named fec_imx6x_info. Rename fec_imx6x_info to fec_imx6sx_info to align with the SoC's name. Reviewed-by: Wei Fang <wei.fang@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Link: https://patch.msgid.link/20250618-fec-cleanups-v4-5-c16f9a1af124@pengutronix.de Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 9e85e98 commit 7edb8ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/ethernet/freescale/fec_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static const struct fec_devinfo fec_mvf600_info = {
131131
FEC_QUIRK_HAS_MDIO_C45,
132132
};
133133

134-
static const struct fec_devinfo fec_imx6x_info = {
134+
static const struct fec_devinfo fec_imx6sx_info = {
135135
.quirks = FEC_QUIRK_ENET_MAC | FEC_QUIRK_HAS_GBIT |
136136
FEC_QUIRK_HAS_BUFDESC_EX | FEC_QUIRK_HAS_CSUM |
137137
FEC_QUIRK_HAS_VLAN | FEC_QUIRK_HAS_AVB |
@@ -196,7 +196,7 @@ static const struct of_device_id fec_dt_ids[] = {
196196
{ .compatible = "fsl,imx28-fec", .data = &fec_imx28_info, },
197197
{ .compatible = "fsl,imx6q-fec", .data = &fec_imx6q_info, },
198198
{ .compatible = "fsl,mvf600-fec", .data = &fec_mvf600_info, },
199-
{ .compatible = "fsl,imx6sx-fec", .data = &fec_imx6x_info, },
199+
{ .compatible = "fsl,imx6sx-fec", .data = &fec_imx6sx_info, },
200200
{ .compatible = "fsl,imx6ul-fec", .data = &fec_imx6ul_info, },
201201
{ .compatible = "fsl,imx8mq-fec", .data = &fec_imx8mq_info, },
202202
{ .compatible = "fsl,imx8qm-fec", .data = &fec_imx8qm_info, },

0 commit comments

Comments
 (0)