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-10 16:51:17 +02:00
committed by Xiang Xiao
parent 2447b7bd9a
commit a743fed63d
120 changed files with 868 additions and 675 deletions
+1 -2
View File
@@ -306,8 +306,7 @@ static const struct file_operations g_cc1101ops =
NULL, /* ioctl */
cc1101_file_poll /* poll */
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
,
NULL /* unlink */
, NULL /* unlink */
#endif
};
+4 -2
View File
@@ -233,8 +233,10 @@ static const struct file_operations g_gs2200m_fops =
gs2200m_write, /* write */
NULL, /* seek */
gs2200m_ioctl, /* ioctl */
gs2200m_poll, /* poll */
NULL /* unlink */
gs2200m_poll /* poll */
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
, NULL /* unlink */
#endif
};
static struct evt_code_s _evt_table[] =