Matt Wagantall | f802090 | 2011-08-30 21:19:23 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 and |
| 6 | * only version 2 as published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | * |
| 13 | */ |
| 14 | |
| 15 | #ifndef __MSM_SYSMON_H |
| 16 | #define __MSM_SYSMON_H |
| 17 | |
| 18 | #include <mach/subsystem_notif.h> |
| 19 | |
| 20 | enum subsys_id { |
| 21 | SYSMON_SS_MODEM, |
| 22 | SYSMON_SS_LPASS, |
| 23 | SYSMON_SS_WCNSS, |
| 24 | SYSMON_SS_DSPS, |
| 25 | SYSMON_SS_Q6FW, |
| 26 | SYSMON_NUM_SS |
| 27 | }; |
| 28 | |
| 29 | #ifdef CONFIG_MSM_SYSMON_COMM |
| 30 | int sysmon_send_event(enum subsys_id dest_ss, const char *event_ss, |
| 31 | enum subsys_notif_type notif); |
| 32 | #else |
| 33 | static inline int sysmon_send_event(enum subsys_id dest_ss, |
| 34 | const char *event_ss, |
| 35 | enum subsys_notif_type notif) |
| 36 | { |
| 37 | return 0; |
| 38 | } |
| 39 | #endif |
| 40 | |
| 41 | #endif |