Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 372ae385 authored by Nicholas Troast's avatar Nicholas Troast Committed by Ankit Sharma
Browse files

power: pmic-voter: fix compilation issue



Compilation fails when required by more than one goal due to a missing
header guard. Add it.

Change-Id: I9031a5db22c8d3aa48f0d6e7a68ca17b7132eca4
Signed-off-by: default avatarNicholas Troast <ntroast@codeaurora.org>
parent b81d100b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -10,6 +10,9 @@
 * GNU General Public License for more details.
 */

#ifndef __PMIC_VOTER_H
#define __PMIC_VOTER_H

#include <linux/mutex.h>

struct votable;
@@ -39,3 +42,5 @@ struct votable *create_votable(struct device *dev, const char *name,
					);
void lock_votable(struct votable *votable);
void unlock_votable(struct votable  *votable);

#endif /* __PMIC_VOTER_H */