Mahesh Sivasubramanian | a8ff992 | 2012-03-27 17:50:42 -0600 | [diff] [blame^] | 1 | /* 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 | |
| 16 | struct 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 | |
| 24 | int msm_rpm_register_notifier(struct notifier_block *nb); |
| 25 | int msm_rpm_unregister_notifier(struct notifier_block *nb); |
| 26 | |
| 27 | #endif /*__ARCH_ARM_MACH_MSM_RPM_NOTIF_H */ |