Re: [PATCH] net: fixed_phy: Add forward declaration for struct gpio_desc;

From: David Miller
Date: Thu Sep 05 2019 - 05:54:50 EST


From: Moritz Fischer <mdf@xxxxxxxxxx>
Date: Tue, 3 Sep 2019 11:46:52 -0700

> Add forward declaration for struct gpio_desc in order to address
> the following:
>
> ./include/linux/phy_fixed.h:48:17: error: 'struct gpio_desc' declared inside parameter list [-Werror]
> ./include/linux/phy_fixed.h:48:17: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
>
> Fixes commit 71bd106d2567 ("net: fixed-phy: Add
> fixed_phy_register_with_gpiod() API")
> Signed-off-by: Moritz Fischer <mdf@xxxxxxxxxx>

Applied with Fixes tag fixed up.