mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
committed by
Casey Connolly
parent
bc28119288
commit
5a995c2fe0
@@ -22,7 +22,7 @@
|
||||
|
||||
struct qcom_pcie;
|
||||
|
||||
struct qcom_pcie_ops {
|
||||
static const struct qcom_pcie_ops {
|
||||
int (*config_sid)(struct qcom_pcie *priv);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user