[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190905.115442.77056976071115136.davem@davemloft.net>
Date: Thu, 05 Sep 2019 11:54:42 +0200 (CEST)
From: David Miller <davem@...emloft.net>
To: mdf@...nel.org
Cc: netdev@...r.kernel.org, andrew@...n.ch, f.fainelli@...il.com,
hkallweit1@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: fixed_phy: Add forward declaration for struct
gpio_desc;
From: Moritz Fischer <mdf@...nel.org>
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@...nel.org>
Applied with Fixes tag fixed up.
Powered by blists - more mailing lists