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

Commit d4a57599 authored by Atul Raut's avatar Atul Raut Committed by Zhiqiang Tu
Browse files

msm: msm_bus: add stub for msm_bus_cl_get_pdata_from_dev



Add missing stub function to get compilation passed when
CONFIG_QCOM_BUS_SCALING is not enabled.

Change-Id: Idf81cbb1e6486dcf67d8f0343a3bf19c9d39a118
Signed-off-by: default avatarZhiqiang Tu <ztu@codeaurora.org>
parent 62d644e7
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
/* Copyright (c) 2010-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2010-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -226,6 +226,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)
{