mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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 <michael@amarulasolutions.com> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user