Commit 53006465 authored by Pascal Bos's avatar Pascal Bos

renamed "wrc_eeprom_dev" to "wrc_eeprom_device".

This avoids a conflict with i2c_eeprom.c using gcc-lm32-elf version 10.
parent 53d927f2
......@@ -134,7 +134,7 @@ int wrc_board_early_init()
}
struct i2c_bus dev_i2c_eeprom;
struct i2c_eeprom_device wrc_eeprom_dev;
struct i2c_eeprom_device wrc_eeprom_device;
int wrc_board_init()
{
......@@ -160,8 +160,8 @@ int wrc_board_init()
&pin_eeprom_sda );
bb_i2c_init(&dev_i2c_eeprom);
i2c_eeprom_create(&wrc_eeprom_dev, &dev_i2c_eeprom, 0x50, 2);
storage_i2ceeprom_create( &wrc_storage_dev, &wrc_eeprom_dev );
i2c_eeprom_create(&wrc_eeprom_device, &dev_i2c_eeprom, 0x50, 2);
storage_i2ceeprom_create( &wrc_storage_dev, &wrc_eeprom_device );
/*
* Read from gateware info about used memory. Currently only base
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment