PM / OPP: get/put regulators from OPP core
[deliverable/linux.git] / drivers / base / power / opp / opp.h
index 690638ef36ee534c1ab9a57d8c4c7ee840f78a51..416293b7da237d43805aa536e671d52b9698a081 100644 (file)
@@ -22,6 +22,8 @@
 #include <linux/rculist.h>
 #include <linux/rcupdate.h>
 
+struct regulator;
+
 /* Lock to allow exclusive modification to the device and opp lists */
 extern struct mutex dev_opp_list_lock;
 
@@ -132,6 +134,7 @@ struct device_list_opp {
  * @supported_hw: Array of version number to support.
  * @supported_hw_count: Number of elements in supported_hw array.
  * @prop_name: A name to postfix to many DT properties, while parsing them.
+ * @regulator: Supply regulator
  * @dentry:    debugfs dentry pointer of the real device directory (not links).
  * @dentry_name: Name of the real dentry.
  *
@@ -159,6 +162,7 @@ struct device_opp {
        unsigned int *supported_hw;
        unsigned int supported_hw_count;
        const char *prop_name;
+       struct regulator *regulator;
 
 #ifdef CONFIG_DEBUG_FS
        struct dentry *dentry;
This page took 0.023787 seconds and 5 git commands to generate.