mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:43:28 +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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user