diff options
author | Adrian Salido <salidoa@google.com> | 2017-03-29 15:58:38 -0700 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2019-10-23 01:12:56 +0300 |
commit | 45df97b4a01aaf7fd6e2df17126bd53e59e0099a (patch) | |
tree | cef9de1c2eb070bffc04d8b13fa13c4f7f679e70 /power-common.h | |
parent | 92ae28df4f36e790600b0af9834dc41db70b4fe0 (diff) | |
download | vendor_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.h')
-rw-r--r-- | power-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/power-common.h b/power-common.h index 697302a..f586f09 100644 --- a/power-common.h +++ b/power-common.h @@ -62,6 +62,8 @@ void power_init(void); void power_hint(power_hint_t hint, void *data); void set_interactive(int on); +#define UNUSED(x) UNUSED_ ## x __attribute__((__unused__)) + #ifdef __cplusplus } #endif |