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:
parent
947004a614
commit
503eb88359
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue