mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
Restriction declaration spi_slave_unlink function
Signed-off-by: Shoukui Zhang <zhangshoukui@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
9ffac12465
commit
a6cea0d82e
@@ -106,7 +106,10 @@ static ssize_t spi_slave_write(FAR struct file *filep,
|
||||
FAR const char *buffer, size_t buflen);
|
||||
static int spi_slave_poll(FAR struct file *filep, FAR struct pollfd *fds,
|
||||
bool setup);
|
||||
|
||||
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
|
||||
static int spi_slave_unlink(FAR struct inode *inode);
|
||||
#endif
|
||||
|
||||
/* SPI Slave driver methods */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user