Skip to content

Commit

Permalink
Add CROS_EC_DEV_IOCEVENTMASK_V2 ioctl
Browse files Browse the repository at this point in the history
  • Loading branch information
fandango96 committed Jun 9, 2024
1 parent 1ab8d59 commit f4b126f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cros_ec.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ struct cros_ec_command_v2 {
#define CROS_EC_DEV_IOC_V2 0xEC
#define CROS_EC_DEV_IOCXCMD_V2 \
_IOWR(CROS_EC_DEV_IOC_V2, 0, struct cros_ec_command_v2)
#define CROS_EC_DEV_IOCEVENTMASK_V2 _IO(CROS_EC_DEV_IOC_V2, 2)

#endif
1 change: 1 addition & 0 deletions src/ioctl_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,7 @@ ioctl_type ioctl_db[] = {

/* cros_ec */
I_VARLEN_STRUCT_IN(CROS_EC_DEV_IOCXCMD_V2, cros_ec_ioctl_equal, ioctl_insertion_parent_stateless, cros_ec_ioctl_get_data_size),
I_NOSTATE(CROS_EC_DEV_IOCEVENTMASK_V2, enodata),

/* terminator */
{0, 0, 0, "", NULL, NULL, NULL, NULL, NULL}
Expand Down

0 comments on commit f4b126f

Please sign in to comment.