uefi-arm64-6.12: revert exit() API change patch
Some checks failed
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Has been cancelled
Infrastructure: Mirror to Codeberg / codeberg (push) Has been cancelled
Maintenance: Announce merge / announcepush (push) Has been cancelled
Maintenance: Security scan / Scorecards analysis (push) Has been cancelled

Remove patch 1003 which incorrectly changes exit() to pass struct device *
instead of struct platform_device *. In kernel 6.12, the signature is:
  void (*exit)(struct platform_device *pdev, void *priv);
This commit is contained in:
Igor Pecovnik 2026-03-26 10:24:43 +01:00 committed by Igor
parent 5e9dafdd3d
commit c2df3920bc

View File

@ -1,29 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ricardo Pardini <ricardo@pardini.net>
Date: Mon, 29 Dec 2025 15:41:31 +0100
Subject: net: stmicro: stmmac: Phytium: adapt to "net: stmmac: pass struct
device to init()/exit() methods"
- ref https://github.com/torvalds/linux/commit/85081acc6b1188f2a6e5e605dc644225fcdf327f
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
---
drivers/net/ethernet/stmicro/stmmac/dwmac-phytium.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-phytium.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-phytium.c
index 111111111111..222222222222 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-phytium.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-phytium.c
@@ -195,7 +195,7 @@ static int dwmac_phytium_probe(struct platform_device *pdev)
err_exit:
if (plat_dat->exit)
- plat_dat->exit(pdev, plat_dat->bsp_priv);
+ plat_dat->exit(&pdev->dev, plat_dat->bsp_priv);
return ret;
}
--
Armbian