regulator: consumer.h - fix build when consumer.h is #included first.
authorLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 11 Nov 2009 14:16:10 +0000 (14:16 +0000)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Thu, 17 Dec 2009 10:27:27 +0000 (10:27 +0000)
consumer.h requires device.h for stand alone build.

Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
include/linux/regulator/consumer.h

index 490c5b37b6d7f02f2f25003b4e7f4d4356a4bed9..030d92255c7a09b8fd6175f93e0a1862b96c21a5 100644 (file)
@@ -35,6 +35,8 @@
 #ifndef __LINUX_REGULATOR_CONSUMER_H_
 #define __LINUX_REGULATOR_CONSUMER_H_
 
+#include <linux/device.h>
+
 /*
  * Regulator operating modes.
  *