net: stmmac: qcom: drop of_match_ptr for ID table

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>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Krzysztof Kozlowski 2023-03-10 22:46:28 +01:00 committed by David S. Miller
parent c0a274151d
commit dc54e450a5
1 changed files with 1 additions and 1 deletions

View File

@ -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);