Restriction declaration spi_slave_unlink function

Signed-off-by: Shoukui Zhang <zhangshoukui@xiaomi.com>
This commit is contained in:
Shoukui Zhang 2023-10-26 15:11:35 +08:00 committed by Alan Carvalho de Assis
parent 9ffac12465
commit a6cea0d82e

View file

@ -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 */