We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86dbcd2 commit 67e736aCopy full SHA for 67e736a
drivers/ethernet/phy/phy_qualcomm_ar8031.c
@@ -255,10 +255,11 @@ static void monitor_work_handler(struct k_work *work)
255
k_work_reschedule(&data->monitor_work, K_MSEC(CONFIG_PHY_MONITOR_PERIOD));
256
}
257
258
-static int qc_ar8031_cfg_link(const struct device *dev, enum phy_link_speed adv_speeds,
+static int qc_ar8031_cfg_link(const struct device *dev, enum phy_link_speed speeds,
259
enum phy_cfg_link_flag flags)
260
{
261
uint32_t bmcr_reg;
262
+ int ret;
263
264
if (flags & PHY_FLAG_AUTO_NEGOTIATION_DISABLED) {
265
LOG_ERR("Disabling auto-negotiation is not supported by this driver");
0 commit comments