Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / include / linux / regulator / userspace-consumer.h
diff --git a/kernel/include/linux/regulator/userspace-consumer.h b/kernel/include/linux/regulator/userspace-consumer.h
new file mode 100644 (file)
index 0000000..b4554ce
--- /dev/null
@@ -0,0 +1,25 @@
+#ifndef __REGULATOR_PLATFORM_CONSUMER_H_
+#define __REGULATOR_PLATFORM_CONSUMER_H_
+
+struct regulator_consumer_supply;
+
+/**
+ * struct regulator_userspace_consumer_data - line consumer
+ * initialisation data.
+ *
+ * @name: Name for the consumer line
+ * @num_supplies: Number of supplies feeding the line
+ * @supplies: Supplies configuration.
+ * @init_on: Set if the regulators supplying the line should be
+ *           enabled during initialisation
+ */
+struct regulator_userspace_consumer_data {
+       const char *name;
+
+       int num_supplies;
+       struct regulator_bulk_data *supplies;
+
+       bool init_on;
+};
+
+#endif /* __REGULATOR_PLATFORM_CONSUMER_H_ */