Thread (45 messages) 45 messages, 6 authors, 2025-03-08

Re: [PATCH 3/3] net: stmmac: Add DWMAC glue layer for Renesas GBETH

flat view

From: Russell King (Oracle) <linux@armlinux.org.uk>
Date: 2025-03-03 10:55:11
Also in: linux-devicetree, linux-renesas-soc, lkml

On Mon, Mar 03, 2025 at 11:40:15AM +0100, Geert Uytterhoeven wrote:
quoted
+       err = stmmac_get_platform_resources(pdev, &stmmac_res);
+       if (err)
+               return dev_err_probe(dev, err,
+                                    "failed to get resources\n");
+
+       plat_dat = devm_stmmac_probe_config_dt(pdev, stmmac_res.mac);
+       if (IS_ERR(plat_dat))
+               return dev_err_probe(dev, PTR_ERR(plat_dat),
+                                    "dt configuration failed\n");
+
+       gbeth = devm_kzalloc(dev, sizeof(*gbeth), GFP_KERNEL);
+       if (!gbeth)
+               return -ENOMEM;
+
+       plat_dat->clk_tx_i = devm_clk_get_enabled(dev, "tx");
drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c:52:17:
error: ‘struct plat_stmmacenet_data’ has no member named ‘clk_tx_i’
False error. You need to build netdev patches marked as net-next
against the net-next tree, not the outdated next tree.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help