From: Vladimir Oltean Date: Sat, 13 Mar 2021 15:16:15 +0200 Subject: [PATCH v2 08/21] net: phy: xilinx: Drop #ifdef CONFIG_DM_ETH around phy_connect_gmii2rgmii() In-Reply-To: <20210312133602.31105-9-bmeng.cn@gmail.com> References: <20210312133602.31105-1-bmeng.cn@gmail.com> <20210312133602.31105-9-bmeng.cn@gmail.com> Message-ID: <20210313131615.baxhzvr7fepdwe47@skbuf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Mar 12, 2021 at 09:35:49PM +0800, Bin Meng wrote: > At present phy_connect_gmii2rgmii() is implemented using a DM API > dev_of_offset() hence it cannot support a non-DM configuration. > Remove the non-DM version prototype of phy_connect_gmii2rgmii() > and make the driver depend on CONFIG_DM_ETH. > > Signed-off-by: Bin Meng > Acked-by: Michal Simek > Reviewed-by: Ramon Fried > --- Reviewed-by: Vladimir Oltean