0dc5b8abfa
The xlate callbacks are supposed to translate of_phandle_args to proper provider without modifying the of_phandle_args. Make the argument pointer to const for code safety and readability. Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org> Acked-by: Thierry Reding <treding@nvidia.com> # Tegra Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Alim Akhtar <alim.akhtar@samsung.com> # Samsung Link: https://lore.kernel.org/r/20240220072213.35779-1-krzysztof.kozlowski@linaro.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
15 lines
340 B
C
15 lines
340 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2022 Linaro Ltd.
|
|
*/
|
|
|
|
#ifndef __DRIVERS_INTERCONNECT_QCOM_ICC_COMMON_H__
|
|
#define __DRIVERS_INTERCONNECT_QCOM_ICC_COMMON_H__
|
|
|
|
#include <linux/interconnect-provider.h>
|
|
|
|
struct icc_node_data *qcom_icc_xlate_extended(const struct of_phandle_args *spec,
|
|
void *data);
|
|
|
|
#endif
|