blob: 742ebf1b76ca2e74a14bb3b48eeab92653948d48 [file] [log] [blame]
Bjorn Andersson58e21432014-11-26 13:51:00 -08001#ifndef __QCOM_RPM_H__
2#define __QCOM_RPM_H__
3
4#include <linux/types.h>
5
6struct qcom_rpm;
7
8#define QCOM_RPM_ACTIVE_STATE 0
9#define QCOM_RPM_SLEEP_STATE 1
10
11int qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count);
12
13#endif