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

Commit 822a0fe1 authored by David Dai's avatar David Dai Committed by Gerrit - the friendly Code Review server
Browse files

msm: msm_bus: add stub function for getting pdata from dev



Add inline stub function to allow successful consumer compilation
when the msm bus driver is disabled.

Change-Id: I5553f43d81fc00b2e9d862e51452ffb4d44315dd
Signed-off-by: default avatarDavid Dai <daidavid1@codeaurora.org>
parent 9bd05f8c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -218,6 +218,12 @@ static inline struct msm_bus_scale_pdata
	return NULL;
}

static inline struct msm_bus_scale_pdata
*msm_bus_cl_get_pdata_from_dev(struct device *dev)
{
	return NULL;
}

static inline struct msm_bus_scale_pdata *msm_bus_pdata_from_node(
		struct platform_device *pdev, struct device_node *of_node)
{