[PATCH net v3] net: stmmac: request the MDIO reset GPIO only once

Jakub Kicinski kuba at kernel.org
Thu Sep 24 09:37:20 PDT 2026


On Mon, 21 Sep 2026 09:57:27 +0800 Linkui Xiao wrote:
> +struct gpio_desc;
>  struct stmmac_pcs;
>  
>  struct stmmac_resources {
> @@ -287,6 +288,8 @@ struct stmmac_priv {
>  
>  	unsigned int pause_time;
>  	struct mii_bus *mii;
> +	struct gpio_desc *mdio_reset_gpio;
> +	u32 mdio_reset_delays[3];

Someone already marked it as changes requested but also no need to
forward declare structs unless first use is as function arguemnt. 



More information about the linux-arm-kernel mailing list