blob: df8d9b35f4431cc9c936a52e7da1b682be225dcd [file] [log] [blame]
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -06001/* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 */
13#ifndef __ARCH_ARM_MACH_MSM_RPM_NOTIF_H
14#define __ARCH_ARM_MACH_MSM_RPM_NOTIF_H
15
16struct msm_rpm_notifier_data {
17 uint32_t rsc_type;
18 uint32_t rsc_id;
19 uint32_t key;
20 uint32_t size;
21 uint8_t *value;
22};
23
24int msm_rpm_register_notifier(struct notifier_block *nb);
25int msm_rpm_unregister_notifier(struct notifier_block *nb);
26
27#endif /*__ARCH_ARM_MACH_MSM_RPM_NOTIF_H */