mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
since there have conflict between two headers icc-rpmh.h and icc-rpm.h, the function qcom_icc_xlate_extended() is declared in icc-rpmh.h thus it cannot be used by icc-rpm driver. Move the function to a new common file icc-common.c so that allow it to be called by multiple drivers. Signed-off-by: Leo Yan <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
14 lines
323 B
C
14 lines
323 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(struct of_phandle_args *spec, void *data);
|
|
|
|
#endif
|