pci: pcie_dw_qcom: Staticize and constify driver ops

Set the ops structure as static const. The structure is not accessible
from outside of this driver and is not going to be modified at runtime.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260508122144.512818-1-marek.vasut+renesas@mailbox.org
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
This commit is contained in:
Marek Vasut
2026-05-08 14:21:37 +02:00
committed by Casey Connolly
parent bc28119288
commit 5a995c2fe0

View File

@@ -22,7 +22,7 @@
struct qcom_pcie;
struct qcom_pcie_ops {
static const struct qcom_pcie_ops {
int (*config_sid)(struct qcom_pcie *priv);
};