diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2016-12-06 14:33:30 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-12-06 14:33:29 -0800 |
| commit | f5ab89af4ee1e4f6ed4de93cd71dcfe77b22b275 (patch) | |
| tree | b2fbfc6d18d9481600c186639da021100174859a /include | |
| parent | 6edabbdef0f358345921946a6f9ee559a46185ab (diff) | |
| parent | ffa980caab6f002bf7e6ec2c0eb99a19aaba1793 (diff) | |
Merge "soc: qcom: Add support to restart user PD"
Diffstat (limited to 'include')
| -rw-r--r-- | include/soc/qcom/service-notifier.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/soc/qcom/service-notifier.h b/include/soc/qcom/service-notifier.h index eae879786d59..0106801fc173 100644 --- a/include/soc/qcom/service-notifier.h +++ b/include/soc/qcom/service-notifier.h @@ -52,21 +52,29 @@ void *service_notif_register_notifier(const char *service_path, int instance_id, int service_notif_unregister_notifier(void *service_notif_handle, struct notifier_block *nb); +int service_notif_pd_restart(const char *service_path, int instance_id); + #else -static void *service_notif_register_notifier(const char *service_path, +static inline void *service_notif_register_notifier(const char *service_path, int instance_id, struct notifier_block *nb, int *curr_state) { return ERR_PTR(-ENODEV); } -static int service_notif_unregister_notifier(void *service_notif_handle, +static inline int service_notif_unregister_notifier(void *service_notif_handle, struct notifier_block *nb) { return -ENODEV; } +static inline int service_notif_pd_restart(const char *service_path, + int instance_id) +{ + return -ENODEV; +} + #endif /* CONFIG_MSM_SERVICE_NOTIFIER */ #endif |
