unify {de,}mangle_poll(), get rid of kernel-side POLL...
[cris-mirror.git] / include / linux / mfd / qcom_rpm.h
blob4b6b644f11088a6a67ca8008b4e4b6ffa23c814d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __QCOM_RPM_H__
3 #define __QCOM_RPM_H__
5 #include <linux/types.h>
7 struct qcom_rpm;
9 #define QCOM_RPM_ACTIVE_STATE 0
10 #define QCOM_RPM_SLEEP_STATE 1
12 int qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count);
14 #endif