Merge tag 'kbuild-misc-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/masahi...
[linux-2.6-microblaze.git] / include / linux / mfd / qcom_rpm.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __QCOM_RPM_H__
3 #define __QCOM_RPM_H__
4
5 #include <linux/types.h>
6
7 struct qcom_rpm;
8
9 #define QCOM_RPM_ACTIVE_STATE   0
10 #define QCOM_RPM_SLEEP_STATE    1
11
12 int qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count);
13
14 #endif