[PATCH 2/3] misc: i2c: eeprom-emul: Staticize and constify driver ops
Simon Glass
sjg at chromium.org
Fri May 8 20:47:53 CEST 2026
On 2026-05-07T22:07:14, Marek Vasut <marek.vasut+renesas at mailbox.org> wrote:
> misc: i2c: eeprom-emul: 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 at mailbox.org>
>
> drivers/misc/i2c_eeprom_emul.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list