mirror of
https://github.com/apache/nuttx.git
synced 2026-09-24 08:45:04 +08:00
file_operations: get back C89 compatible initializer
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
2447b7bd9a
commit
a743fed63d
@@ -97,13 +97,16 @@ static ssize_t lirc_read(FAR struct file *filep, FAR char *buffer,
|
||||
|
||||
static const struct file_operations g_lirc_fops =
|
||||
{
|
||||
lirc_open, /* open */
|
||||
lirc_open, /* open */
|
||||
lirc_close, /* close */
|
||||
lirc_read, /* read */
|
||||
lirc_read, /* read */
|
||||
lirc_write, /* write */
|
||||
NULL, /* seek */
|
||||
NULL, /* seek */
|
||||
lirc_ioctl, /* ioctl */
|
||||
lirc_poll, /* poll */
|
||||
lirc_poll /* poll */
|
||||
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
|
||||
, NULL /* unlink */
|
||||
#endif
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user