Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions drivers/net/ethernet/silicom/n5010-hssi.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,11 @@ static int n5010_hssi_create_netdev(struct n5010_hssi_drvdata *priv,
return err;
}

#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 14, 0)
static int n5010_match_phy_dev(struct device *dev, void *data)
#else
static int n5010_match_phy_dev(struct device *dev, const void *data)
#endif
{
return dev->driver && !strcmp(dev->driver->name, "n5010bmc-phy");
}
Expand Down