]> git.dujemihanovic.xyz Git - u-boot.git/commit
misc: i2c_eeprom: Make i2c_eeprom_write use a const buf
authorSean Anderson <sean.anderson@seco.com>
Thu, 5 May 2022 17:11:37 +0000 (13:11 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jun 2022 17:59:53 +0000 (13:59 -0400)
commitdda3b389201429a65746d99ad0e4e9e2bd9819b3
treec3e2c40689efdbdbb1002f7d971e99116c23c881
parent2a5af4049ccef538095bff67ce9770711db5ed58
misc: i2c_eeprom: Make i2c_eeprom_write use a const buf

i2c_eeprom_ops->write uses a const buf, so use one for the wrapper
function as well.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/misc/i2c_eeprom.c
include/i2c_eeprom.h