From: Florian Fainelli <f.faine...@gmail.com>
Date: Fri, 15 May 2015 14:18:42 -0700

> @@ -311,6 +311,30 @@ enum phy_state {
>       PHY_RESUMING
>  };
>  
> +#define PHY_STATE_STR(_state)                        \
> +     case PHY_##_state:                      \
> +             return __stringify(_state);     \
> +
> +static inline const char *phy_state_to_str(enum phy_state st)
> +{

Please put this into drivers/net/phy/phy.c as it's the only user.

This lines up with phy_speed_to_str() etc.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to