ramips: fix patch location

The patch for adding the config_aneg function for the Atheros
AR8031/AR8033 PHY was formatted in a way it moved to different PHY
models while refreshing patches on kernel updates.

Move the diff directly below the PHY name so this won't happen in the
future.

Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
David Bauer 2021-06-07 01:05:24 +02:00
parent 0056ffb468
commit 902d7e497c
1 changed files with 7 additions and 7 deletions

View File

@ -147,11 +147,11 @@ Signed-off-by: René van Dorst <opensource@vdorst.com>
static struct phy_driver at803x_driver[] = { static struct phy_driver at803x_driver[] = {
{ {
/* ATHEROS 8035 */ /* ATHEROS 8035 */
@@ -482,6 +571,7 @@ static struct phy_driver at803x_driver[] @@ -504,6 +593,7 @@ static struct phy_driver at803x_driver[]
.suspend = at803x_suspend, /* ATHEROS 8031 */
.resume = at803x_resume, .phy_id = ATH8031_PHY_ID,
/* PHY_GBIT_FEATURES */ .name = "Atheros 8031 ethernet",
+ .config_aneg = at803x_config_aneg, + .config_aneg = at803x_config_aneg,
.read_status = at803x_read_status, .phy_id_mask = AT803X_PHY_ID_MASK,
.ack_interrupt = at803x_ack_interrupt, .probe = at803x_probe,
.config_intr = at803x_config_intr, .config_init = at803x_config_init,