mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 03:22:37 +00:00
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 <[email protected]> Acked-by: Thierry Reding <[email protected]> # Tegra Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Alim Akhtar <[email protected]> # Samsung Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
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
|