Skip to content

Commit 90055ef

Browse files
marckleinebuddeNipaLocal
authored andcommitted
net: fec: rename struct fec_devinfo fec_imx6x_info -> fec_imx6sx_info
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 <[email protected]> Reviewed-by: Frank Li <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent 425512b commit 90055ef

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
@@ -130,7 +130,7 @@ static const struct fec_devinfo fec_mvf600_info = {
130130
FEC_QUIRK_HAS_MDIO_C45,
131131
};
132132

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

0 commit comments

Comments
 (0)