drivers/eeprom/spi_xx25xx: Fixes build error.
This commit is contained in:
parent
c3e256e018
commit
731594b7d2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue