soc: qcom: Fix compilation error

Fix compilation error for service-locator when Kconfig option
is not enabled as in perf build.

Change-Id: I42bfe4417de8ed7a2e74500bf4f3aee0bedc811c
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
This commit is contained in:
Avaneesh Kumar Dwivedi 2016-08-18 17:46:45 +05:30
parent 947004a614
commit 503eb88359

View file

@ -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,