netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/5] net: stmmac: qcom: drop of_match_ptr for ID table
@ 2023-03-10 21:46 Krzysztof Kozlowski
  2023-03-10 21:46 ` [PATCH 2/5] net: stmmac: generic: " Krzysztof Kozlowski
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-10 21:46 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Byungho An, Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu,
	Maxime Coquelin, Vinod Koul, Bhupesh Sharma, netdev, linux-kernel,
	linux-stm32, linux-arm-kernel
  Cc: Krzysztof Kozlowski

The driver is specific to ARCH_QCOM which depends on OF thus the driver
is OF-only.  Its of_device_id table is built unconditionally, thus
of_match_ptr() for ID table does not make sense.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
index 732774645c1a..32763566c214 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
@@ -606,7 +606,7 @@ static struct platform_driver qcom_ethqos_driver = {
 	.driver = {
 		.name           = "qcom-ethqos",
 		.pm		= &stmmac_pltfr_pm_ops,
-		.of_match_table = of_match_ptr(qcom_ethqos_match),
+		.of_match_table = qcom_ethqos_match,
 	},
 };
 module_platform_driver(qcom_ethqos_driver);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-03-15  8:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-10 21:46 [PATCH 1/5] net: stmmac: qcom: drop of_match_ptr for ID table Krzysztof Kozlowski
2023-03-10 21:46 ` [PATCH 2/5] net: stmmac: generic: " Krzysztof Kozlowski
2023-03-13 16:27   ` Simon Horman
2023-03-10 21:46 ` [PATCH 3/5] net: marvell: pxa168_eth: " Krzysztof Kozlowski
2023-03-13 16:28   ` Simon Horman
2023-03-10 21:46 ` [PATCH 4/5] net: samsung: sxgbe: " Krzysztof Kozlowski
2023-03-13 16:27   ` Simon Horman
2023-03-10 21:46 ` [PATCH 5/5] net: ni: " Krzysztof Kozlowski
2023-03-13 16:27   ` Simon Horman
2023-03-13 16:26 ` [PATCH 1/5] net: stmmac: qcom: " Simon Horman
2023-03-15  8:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).