summaryrefslogtreecommitdiffstats
path: root/power-msmnile.c
diff options
context:
space:
mode:
Diffstat (limited to 'power-msmnile.c')
-rw-r--r--power-msmnile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/power-msmnile.c b/power-msmnile.c
index 27a8d25..7000079 100644
--- a/power-msmnile.c
+++ b/power-msmnile.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -48,7 +48,7 @@
static int display_fd;
#define SYS_DISPLAY_PWR "/sys/kernel/hbtp/display_pwr"
-int set_interactive_override(struct power_module *module, int on)
+int set_interactive_override(int on)
{
static const char *display_on = "1";
static const char *display_off = "0";
@@ -94,7 +94,7 @@ int set_interactive_override(struct power_module *module, int on)
void interaction(int duration, int num_args, int opt_list[]);
-int power_hint_override(struct power_module *module, power_hint_t hint, void *data)
+int power_hint_override(power_hint_t hint, void *data)
{
int ret_val = HINT_NONE;
switch(hint) {