soc: qcom: Fix compilation warning/error
Fix couple of compilation error for service-locator when Kconfig option
is not enabled.
CRs-Fixed: 1048345
Change-Id: I5eb1318d1e3a62619869033b36479c4e68f1602f
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
This commit is contained in:
parent
2e45ea7281
commit
4fe225dbd9
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ int find_subsys(const char *pd_path, char *subsys);
|
|||
#else
|
||||
|
||||
static inline int get_service_location(char *client_name,
|
||||
char *service_name, struct notifier_block *locator_nb);
|
||||
char *service_name, struct notifier_block *locator_nb)
|
||||
{
|
||||
return -ENODEV;
|
||||
}
|
||||
|
|
|
@ -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 -ENODEV;
|
||||
return PTR_ERR(-ENODEV);
|
||||
}
|
||||
|
||||
static int service_notif_unregister_notifier(void *service_notif_handle,
|
||||
|
|
Loading…
Add table
Reference in a new issue