summaryrefslogtreecommitdiffstats
path: root/nicintel_eeprom.c
diff options
context:
space:
mode:
Diffstat (limited to 'nicintel_eeprom.c')
-rw-r--r--nicintel_eeprom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nicintel_eeprom.c b/nicintel_eeprom.c
index 2d6def1..b5d4202 100644
--- a/nicintel_eeprom.c
+++ b/nicintel_eeprom.c
@@ -275,7 +275,7 @@ static const struct opaque_master opaque_master_nicintel_ee = {
.erase = nicintel_ee_erase,
};
-static int nicintel_spi_shutdown(void *eecp)
+static int nicintel_ee_shutdown(void *eecp)
{
uint32_t old_eec = *(uint32_t *)eecp;
/* Request bitbanging and unselect the chip first to be safe. */
@@ -323,7 +323,7 @@ int nicintel_ee_init(void)
return 1;
*eecp = eec;
- if (register_shutdown(nicintel_spi_shutdown, eecp))
+ if (register_shutdown(nicintel_ee_shutdown, eecp))
return 1;
}
OpenPOWER on IntegriCloud