summaryrefslogtreecommitdiffstats
path: root/power-common.c
diff options
context:
space:
mode:
authorAdrian Salido <salidoa@google.com>2017-03-29 15:58:38 -0700
committerMichael Bestas <mkbestas@lineageos.org>2019-10-23 01:12:56 +0300
commit45df97b4a01aaf7fd6e2df17126bd53e59e0099a (patch)
treecef9de1c2eb070bffc04d8b13fa13c4f7f679e70 /power-common.c
parent92ae28df4f36e790600b0af9834dc41db70b4fe0 (diff)
downloadvendor_qcom_opensource_power-45df97b4a01aaf7fd6e2df17126bd53e59e0099a.tar.gz
vendor_qcom_opensource_power-45df97b4a01aaf7fd6e2df17126bd53e59e0099a.tar.bz2
vendor_qcom_opensource_power-45df97b4a01aaf7fd6e2df17126bd53e59e0099a.zip
power: Fix power hal compiler warnings
Bug: 30432975 Test: compile power hal for walleye without warnings Change-Id: I0d90c26462c662690f8a179250000b9a449a109f
Diffstat (limited to 'power-common.c')
-rw-r--r--power-common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/power-common.c b/power-common.c
index 0101bea..1dc9334 100644
--- a/power-common.c
+++ b/power-common.c
@@ -60,8 +60,8 @@ void power_init()
}
}
-int __attribute__ ((weak)) power_hint_override(power_hint_t hint,
- void *data)
+int __attribute__ ((weak)) power_hint_override(power_hint_t UNUSED(hint),
+ void *UNUSED(data))
{
return HINT_NONE;
}
@@ -112,7 +112,7 @@ void power_hint(power_hint_t hint, void *data)
}
}
-int __attribute__ ((weak)) set_interactive_override(int on)
+int __attribute__ ((weak)) set_interactive_override(int UNUSED(on))
{
return HINT_NONE;
}