Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4fe225db authored by Puja Gupta's avatar Puja Gupta
Browse files

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: default avatarPuja Gupta <pujag@codeaurora.org>
parent 2e45ea72
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}
+1 −1
Original line number Diff line number Diff line
@@ -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,