file_operations: get back C89 compatible initializer

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko
2022-01-11 02:14:00 +08:00
committed by Xiang Xiao
parent 2447b7bd9a
commit a743fed63d
120 changed files with 868 additions and 675 deletions
+7 -4
View File
@@ -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
};
/****************************************************************************