Trivial but required change to build SPI EEPPROM driver.
This commit is contained in:
parent
8b1a607671
commit
9a22ed1095
|
@ -387,8 +387,6 @@ static void ee25xx_waitwritecomplete(struct ee25xx_dev_s *priv)
|
|||
}
|
||||
}
|
||||
while ((status & EE25XX_SR_WIP) != 0);
|
||||
|
||||
finfo("Complete\n");
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -815,8 +813,7 @@ int ee25xx_initialize(FAR struct spi_dev_s *dev, FAR char *devname,
|
|||
|
||||
eedev->readonly = !!readonly;
|
||||
|
||||
info(LOG_NOTICE,
|
||||
"EEPROM device %s, %d bytes, %d per page, addrlen %d, readonly %d\n",
|
||||
finfo("EEPROM device %s, %d bytes, %d per page, addrlen %d, readonly %d\n",
|
||||
devname, eedev->size, eedev->pgsize, eedev->addrlen, eedev->readonly);
|
||||
|
||||
return register_driver(devname, &ee25xx_fops, 0666, eedev);
|
||||
|
|
Loading…
Reference in New Issue