Skip to content

Commit

Permalink
drivers/input/input_booster.c: declare arguments of is_ib_init_succeed()
Browse files Browse the repository at this point in the history
This resolves a compile error caused by is_ib_init_succeed() not
defining any arguments.
  • Loading branch information
usertam authored Oct 12, 2021
1 parent 503106d commit 33c4728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/input_booster.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ void init_sysfs_device(struct class* sysfs_class, struct t_ib_device_tree* ib_dt
}
}

int is_ib_init_succeed()
int is_ib_init_succeed(void)
{
return (ib_trigger != NULL && ib_device_trees != NULL &&
ib_list != NULL && qos_list != NULL) ? 1 : 0;
Expand Down

0 comments on commit 33c4728

Please sign in to comment.