diff options
author | Nicholas Troast <ntroast@codeaurora.org> | 2016-02-17 14:21:07 -0800 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:10:22 -0700 |
commit | a40a7640f246928b63f9fe5712dca3c95686f6d3 (patch) | |
tree | 3f830d775a05b4933f7386213f7997d5f5ccf20a | |
parent | c039b2275cbe70181cc7ad612e4c53a8f9cb7a64 (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.h | 5 |
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 */ |