Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / include / linux / mfd / qcom_rpm.h
diff --git a/kernel/include/linux/mfd/qcom_rpm.h b/kernel/include/linux/mfd/qcom_rpm.h
new file mode 100644 (file)
index 0000000..742ebf1
--- /dev/null
@@ -0,0 +1,13 @@
+#ifndef __QCOM_RPM_H__
+#define __QCOM_RPM_H__
+
+#include <linux/types.h>
+
+struct qcom_rpm;
+
+#define QCOM_RPM_ACTIVE_STATE  0
+#define QCOM_RPM_SLEEP_STATE   1
+
+int qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count);
+
+#endif