From: Tom Rini Date: Fri, 20 Mar 2026 20:53:26 +0000 (-0600) Subject: bootcount: Give i2c-eeprom a unique identifier X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5e268091e5ead232e2938a152ae0662fefc2ae4;p=thirdparty%2Fu-boot.git bootcount: Give i2c-eeprom a unique identifier Every U_BOOT_DRIVER entry must be unique and this driver was re-using the name of the bootcount_spi_flash driver. Change to bootcount_i2c_eeprom. Reviewed-by: Michael Trimarchi Signed-off-by: Tom Rini --- diff --git a/drivers/bootcount/i2c-eeprom.c b/drivers/bootcount/i2c-eeprom.c index 12c430465c9..f54515f451e 100644 --- a/drivers/bootcount/i2c-eeprom.c +++ b/drivers/bootcount/i2c-eeprom.c @@ -85,7 +85,7 @@ static const struct udevice_id bootcount_i2c_eeprom_ids[] = { { } }; -U_BOOT_DRIVER(bootcount_spi_flash) = { +U_BOOT_DRIVER(bootcount_i2c_eeprom) = { .name = "bootcount-i2c-eeprom", .id = UCLASS_BOOTCOUNT, .priv_auto = sizeof(struct bootcount_i2c_eeprom_priv),