mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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 <hs@nabladev.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
committed by
Heiko Schocher
parent
36d4c65358
commit
5f82b15958
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user