drivers/eeprom/spi_xx25xx: Fixes build error.

This commit is contained in:
Anthony Merlino 2020-07-10 02:24:49 -04:00 committed by David Sidrane
parent c3e256e018
commit 731594b7d2
1 changed files with 1 additions and 0 deletions

View File

@ -654,6 +654,7 @@ static ssize_t ee25xx_read(FAR struct file *filep, FAR char *buffer,
{
FAR struct ee25xx_dev_s *eedev;
FAR struct inode *inode = filep->f_inode;
int ret;
DEBUGASSERT(inode && inode->i_private);
eedev = (FAR struct ee25xx_dev_s *)inode->i_private;