aboutsummaryrefslogtreecommitdiffstats
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
parenta10099bc8884397f54c9b73831b0529850fe23d3 (diff)
downloadkernel_samsung_crespo-b56daf13eb77ee24f48f0bb34c2492f46a432ec4.zip
kernel_samsung_crespo-b56daf13eb77ee24f48f0bb34c2492f46a432ec4.tar.gz
kernel_samsung_crespo-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>
-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 490c5b3..030d922 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.
*