summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-05-08 14:20:51 +0200
committerHeiko Schocher <[email protected]>2026-05-14 11:12:56 +0200
commit5f82b15958eb80db3ff2ef26485343688df6a9ed (patch)
tree7d07a4aabbbe54435bd4ad412d623997abd42bf1
parent36d4c653580824b16574560b21d4401614d8b68e (diff)
i2c: designware_i2c: Staticize driver ops
Set the ops structure as static. The structure is not accessible from outside of this driver. Reviewed-by: Heiko Schocher <[email protected]> Signed-off-by: Marek Vasut <[email protected]>
-rw-r--r--drivers/i2c/designware_i2c_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/designware_i2c_pci.c b/drivers/i2c/designware_i2c_pci.c
index c21c412231c..ad4122c2abd 100644
--- a/drivers/i2c/designware_i2c_pci.c
+++ b/drivers/i2c/designware_i2c_pci.c
@@ -168,7 +168,7 @@ static int dw_i2c_acpi_fill_ssdt(const struct udevice *dev,
return 0;
}
-struct acpi_ops dw_i2c_acpi_ops = {
+static struct acpi_ops dw_i2c_acpi_ops = {
.fill_ssdt = dw_i2c_acpi_fill_ssdt,
};