mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
fs: procfs add poll support
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
@@ -119,6 +119,7 @@ const struct procfs_operations g_irq_operations =
|
||||
irq_close, /* close */
|
||||
irq_read, /* read */
|
||||
NULL, /* write */
|
||||
NULL, /* poll */
|
||||
|
||||
irq_dup, /* dup */
|
||||
|
||||
|
||||
@@ -106,6 +106,7 @@ const struct procfs_operations g_module_operations =
|
||||
modprocfs_close, /* close */
|
||||
modprocfs_read, /* read */
|
||||
NULL, /* write */
|
||||
NULL, /* poll */
|
||||
modprocfs_dup, /* dup */
|
||||
|
||||
NULL, /* opendir */
|
||||
|
||||
Reference in New Issue
Block a user