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 490c5b3..030d922 100644 (file)
@@ -35,6 +35,8 @@
 #ifndef __LINUX_REGULATOR_CONSUMER_H_
 #define __LINUX_REGULATOR_CONSUMER_H_
 
+#include <linux/device.h>
+
 /*
  * Regulator operating modes.
  *