summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@slimlogic.co.uk>2009-11-11 14:16:10 +0000
committerLiam Girdwood <lrg@slimlogic.co.uk>2009-12-17 10:27:27 +0000
commitb56daf13eb77ee24f48f0bb34c2492f46a432ec4 (patch)
treea9c341b0635d33467c025cc289a8b37501a187e9 /include
parenta10099bc8884397f54c9b73831b0529850fe23d3 (diff)
downloadlinux-b56daf13eb77ee24f48f0bb34c2492f46a432ec4.tar.bz2
regulator: consumer.h - fix build when consumer.h is #included first.
consumer.h requires device.h for stand alone build. Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/regulator/consumer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h
index 490c5b37b6d7..030d92255c7a 100644
--- a/include/linux/regulator/consumer.h
+++ b/include/linux/regulator/consumer.h
@@ -35,6 +35,8 @@
#ifndef __LINUX_REGULATOR_CONSUMER_H_
#define __LINUX_REGULATOR_CONSUMER_H_
+#include <linux/device.h>
+
/*
* Regulator operating modes.
*