summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-08-19 05:29:19 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-19 05:29:18 -0700
commit521c0c89d95ed6c74dc005ebee0fb334c8d63398 (patch)
tree064d6b3f43488ff89ea72df728ddef4991ed41f6 /include/soc
parentd9868b6515b4f367127670ed6830064967520ecb (diff)
parent6354fad32ce56ccf167d2e82021fa1506430cb94 (diff)
Merge "slim: ngd: Handle Process Domain restart"
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/qcom/service-notifier.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/soc/qcom/service-notifier.h b/include/soc/qcom/service-notifier.h
index 90fceba091b9..598c91f7c9e2 100644
--- a/include/soc/qcom/service-notifier.h
+++ b/include/soc/qcom/service-notifier.h
@@ -53,7 +53,7 @@ static void *service_notif_register_notifier(const char *service_path,
int instance_id, struct notifier_block *nb,
int *curr_state)
{
- return PTR_ERR(-ENODEV);
+ return ERR_PTR(-ENODEV);
}
static int service_notif_unregister_notifier(void *service_notif_handle,