summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Troast <ntroast@codeaurora.org>2016-02-17 14:21:07 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:10:22 -0700
commita40a7640f246928b63f9fe5712dca3c95686f6d3 (patch)
tree3f830d775a05b4933f7386213f7997d5f5ccf20a
parentc039b2275cbe70181cc7ad612e4c53a8f9cb7a64 (diff)
power: pmic-voter: fix compilation issue
Compilation fails when required by more than one goal due to a missing header guard. Add it. Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
-rw-r--r--drivers/power/pmic-voter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/power/pmic-voter.h b/drivers/power/pmic-voter.h
index 363444468a82..30cfecad4287 100644
--- a/drivers/power/pmic-voter.h
+++ b/drivers/power/pmic-voter.h
@@ -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 */