diff options
| author | Tom Rini <[email protected]> | 2025-11-15 08:03:39 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-11-15 08:03:39 -0600 |
| commit | 55d60ef1c91b309ba8b1c360031b13e5b3d4b31a (patch) | |
| tree | c10868c0c5b672454c95a643f74e9c2af49c5128 | |
| parent | 1a255d6620422b2c8912f7185356875c2a268b91 (diff) | |
| parent | 107d5f340bcf20386022d5f6d9188e9e7bd39729 (diff) | |
Merge tag 'i2c-updates-for-2026.01-rc3' of https://source.denx.de/u-boot/custodians/u-boot-i2c
I2C updates for 2026.01-rc3
- i2c: mux: declare staic functions where posible
from Michal
| -rw-r--r-- | drivers/i2c/muxes/i2c-mux-uclass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/muxes/i2c-mux-uclass.c b/drivers/i2c/muxes/i2c-mux-uclass.c index 012881de05b..7f4eb914af2 100644 --- a/drivers/i2c/muxes/i2c-mux-uclass.c +++ b/drivers/i2c/muxes/i2c-mux-uclass.c @@ -130,7 +130,7 @@ static int i2c_mux_post_probe(struct udevice *mux) return 0; } -int i2c_mux_select(struct udevice *dev) +static int i2c_mux_select(struct udevice *dev) { struct i2c_mux_bus *plat = dev_get_parent_plat(dev); struct udevice *mux = dev->parent; @@ -142,7 +142,7 @@ int i2c_mux_select(struct udevice *dev) return ops->select(mux, dev, plat->channel); } -int i2c_mux_deselect(struct udevice *dev) +static int i2c_mux_deselect(struct udevice *dev) { struct i2c_mux_bus *plat = dev_get_parent_plat(dev); struct udevice *mux = dev->parent; |
