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
+5 -2
View File
@@ -205,10 +205,13 @@ static const struct file_operations tsc2007_fops =
tsc2007_open, /* open */
tsc2007_close, /* close */
tsc2007_read, /* read */
0, /* write */
0, /* seek */
NULL, /* write */
NULL, /* seek */
tsc2007_ioctl, /* ioctl */
tsc2007_poll /* poll */
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
, NULL /* unlink */
#endif
};
/* If only a single TSC2007 device is supported, then the driver state