Browse Source

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>
Liam Girdwood 15 years ago
parent
commit
b56daf13eb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/linux/regulator/consumer.h

+ 2 - 0
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.
  *