drivers: eeprom: mchp: Bug fix
Updated the DT macro to read EEPROM size property. Signed-off-by: Manimaran A <manimaran.a@microchip.com>
This commit is contained in:
parent
4648917be4
commit
80d46c5f7e
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ PINCTRL_DT_INST_DEFINE(0);
|
|||
|
||||
static const struct eeprom_xec_config eeprom_config = {
|
||||
.regs = (struct eeprom_xec_regs * const)DT_INST_REG_ADDR(0),
|
||||
.size = DT_INST_REG_SIZE(0),
|
||||
.size = DT_INST_PROP(0, size),
|
||||
.pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(0),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue