summaryrefslogtreecommitdiffstats
path: root/libpower
diff options
context:
space:
mode:
authorKyle Repinski <repinski23@gmail.com>2016-09-25 16:28:35 -0500
committerAndreas Blaesius <skate4life@gmx.de>2017-02-06 21:33:02 +0000
commit40fb7eb807e767b11b76780a932733f426c67cf7 (patch)
tree2d2284eb58dedd5967e8d4568d59bfbaa7433ffd /libpower
parent398b4a0150ce4e183f2f7d4234fcc1847f7529f6 (diff)
downloadhardware_ti_omap4-40fb7eb807e767b11b76780a932733f426c67cf7.zip
hardware_ti_omap4-40fb7eb807e767b11b76780a932733f426c67cf7.tar.gz
hardware_ti_omap4-40fb7eb807e767b11b76780a932733f426c67cf7.tar.bz2
libpower: Initialize inited variable.
Change-Id: I36c95e3c5eacaac3f5cc0480381cd582092aac8d
Diffstat (limited to 'libpower')
-rw-r--r--libpower/power.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpower/power.c b/libpower/power.c
index 6aa2cc2..41da557 100644
--- a/libpower/power.c
+++ b/libpower/power.c
@@ -270,4 +270,5 @@ struct omap_power_module HAL_MODULE_INFO_SYM = {
.lock = PTHREAD_MUTEX_INITIALIZER,
.boostpulse_fd = -1,
.boostpulse_warned = 0,
+ .inited = 0,
};