regulator: consumer.h - fix build when consumer.h is #included first.
Liam Girdwood [Wed, 11 Nov 2009 14:16:10 +0000 (14:16 +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.
  *