Skip to content

Commit 67e736a

Browse files
maass-hamburgdanieldegrasse
authored andcommitted
drivers: ethernet: phy: phy_qualcomm_ar8031: fix speeds undeclared
fix `speeds` undeclared. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
1 parent 86dbcd2 commit 67e736a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/ethernet/phy/phy_qualcomm_ar8031.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,11 @@ static void monitor_work_handler(struct k_work *work)
255255
k_work_reschedule(&data->monitor_work, K_MSEC(CONFIG_PHY_MONITOR_PERIOD));
256256
}
257257

258-
static int qc_ar8031_cfg_link(const struct device *dev, enum phy_link_speed adv_speeds,
258+
static int qc_ar8031_cfg_link(const struct device *dev, enum phy_link_speed speeds,
259259
enum phy_cfg_link_flag flags)
260260
{
261261
uint32_t bmcr_reg;
262+
int ret;
262263

263264
if (flags & PHY_FLAG_AUTO_NEGOTIATION_DISABLED) {
264265
LOG_ERR("Disabling auto-negotiation is not supported by this driver");

0 commit comments

Comments
 (0)