summaryrefslogtreecommitdiffstats
path: root/power-8953.c
diff options
context:
space:
mode:
authorRashed Abdel-Tawab <rashed@linux.com>2017-12-31 01:21:40 +0200
committerPaul Keith <javelinanddart@gmail.com>2017-12-31 02:08:04 +0100
commita2a7071a9f501b038628f495d735919abb1d21b6 (patch)
tree48d4716e297d560d1cfe841c873861d2cb364034 /power-8953.c
parent067a907e37c6bd0f8b10a07264a0f304067765bf (diff)
downloadandroid_hardware_qcom_power-a2a7071a9f501b038628f495d735919abb1d21b6.tar.gz
android_hardware_qcom_power-a2a7071a9f501b038628f495d735919abb1d21b6.tar.bz2
android_hardware_qcom_power-a2a7071a9f501b038628f495d735919abb1d21b6.zip
power: Make the rest of the platforms compatible with HIDL hal
Change-Id: If45b59915022b563d4c5c9bf454b02b431a97833
Diffstat (limited to 'power-8953.c')
-rw-r--r--power-8953.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/power-8953.c b/power-8953.c
index 09df941..8867016 100644
--- a/power-8953.c
+++ b/power-8953.c
@@ -58,8 +58,7 @@ static int camera_hint_ref_count;
static void process_video_encode_hint(void *metadata);
//static void process_cam_preview_hint(void *metadata);
-int power_hint_override(struct power_module *module, power_hint_t hint,
- void *data)
+int power_hint_override(power_hint_t hint, void *data)
{
switch(hint) {
@@ -74,7 +73,7 @@ int power_hint_override(struct power_module *module, power_hint_t hint,
return HINT_NONE;
}
-int set_interactive_override(struct power_module *module, int on)
+int set_interactive_override(int on)
{
char governor[80];
char tmp_str[NODE_MAX];