> +static inline const struct mv3310_chip *
> +to_mv3310_chip(struct phy_device *phydev)
> +{
> + return phydev->drv->driver_data;
> +}No inline functions in C code please. Let the compiler decide. Andrew
> +static inline const struct mv3310_chip *
> +to_mv3310_chip(struct phy_device *phydev)
> +{
> + return phydev->drv->driver_data;
> +}No inline functions in C code please. Let the compiler decide. Andrew