From bb5a2cf9f99731915359b67b52eba307db86fff9 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 26 Jun 2020 15:13:34 +0900 Subject: treewide: convert bd_t to struct bd_info manually Some code was not converted by coccinelle, somehow. I manually fixed up the remaining, and comments, README docs. Signed-off-by: Masahiro Yamada [trini: Add arch/arm/mach-davinci/include/mach/sdmmc_defs.h and include/fdt_support.h] Signed-off-by: Tom Rini --- drivers/net/fec_mxc.c | 4 ++-- drivers/net/ldpaa_eth/ldpaa_eth.c | 2 +- drivers/net/smc911x.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers') diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 469c7b7cef2..b3d4acb1062 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -588,7 +588,7 @@ static int fec_open(struct eth_device *edev) #ifdef CONFIG_DM_ETH static int fecmxc_init(struct udevice *dev) #else -static int fec_init(struct eth_device *dev, bd_t *bd) +static int fec_init(struct eth_device *dev, struct bd_info *bd) #endif { #ifdef CONFIG_DM_ETH @@ -1105,7 +1105,7 @@ struct mii_dev *fec_get_miibus(ulong base_addr, int dev_id) int fec_probe(struct bd_info *bd, int dev_id, uint32_t base_addr, struct mii_dev *bus, struct phy_device *phydev) #else -static int fec_probe(bd_t *bd, int dev_id, uint32_t base_addr, +static int fec_probe(struct bd_info *bd, int dev_id, uint32_t base_addr, struct mii_dev *bus, int phy_id) #endif { diff --git a/drivers/net/ldpaa_eth/ldpaa_eth.c b/drivers/net/ldpaa_eth/ldpaa_eth.c index 116b307b67c..67da549fdbf 100644 --- a/drivers/net/ldpaa_eth/ldpaa_eth.c +++ b/drivers/net/ldpaa_eth/ldpaa_eth.c @@ -514,7 +514,7 @@ static int ldpaa_eth_open(struct udevice *dev) struct eth_pdata *plat = dev_get_platdata(dev); struct ldpaa_eth_priv *priv = dev_get_priv(dev); #else -static int ldpaa_eth_open(struct eth_device *net_dev, bd_t *bd) +static int ldpaa_eth_open(struct eth_device *net_dev, struct bd_info *bd) { struct ldpaa_eth_priv *priv = (struct ldpaa_eth_priv *)net_dev->priv; #endif diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 053ff9f4ff9..9c5dc46483f 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -455,7 +455,7 @@ static int smc911x_initialize_mii(struct smc911x_priv *priv) } #endif -static int smc911x_init(struct eth_device *dev, bd_t *bd) +static int smc911x_init(struct eth_device *dev, struct bd_info *bd) { struct smc911x_priv *priv = container_of(dev, struct smc911x_priv, dev); -- cgit v1.3.1