Skip to contentSkip to conversation

regulator: consumer.h - fix build when consumer.h is #included first.

PATCH New Liam Girdwood 1 participant 1 message Nov 11, 2009 Voltage and current regulator framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 regulator: consumer.h - fix build when consumer.h is #included first.

consumer.h requires device.h for stand alone build.

---
 include/linux/regulator/consumer.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/regulator/consumer.h +2 -0
index 490c5b3..030d922 100644
@@ -35,6 +35,8 @@
 #ifndef __LINUX_REGULATOR_CONSUMER_H_
 #define __LINUX_REGULATOR_CONSUMER_H_
 
+#include <linux/device.h>
+
 /*
  * Regulator operating modes.
  *
Signature · 1 line
1.6.3.3