mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 07:50:53 +07:00
9e288cefcc
This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> [rebased against clk-spdx] Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
36 lines
1001 B
C
36 lines
1001 B
C
/* SPDX-License-Identifier: GPL-2.0+
|
|
*
|
|
* Copyright 2013 Ideas On Board SPRL
|
|
* Copyright 2013, 2014 Horms Solutions Ltd.
|
|
*
|
|
* Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
* Contact: Simon Horman <horms@verge.net.au>
|
|
*/
|
|
|
|
#ifndef __LINUX_CLK_RENESAS_H_
|
|
#define __LINUX_CLK_RENESAS_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct device;
|
|
struct device_node;
|
|
struct generic_pm_domain;
|
|
|
|
void cpg_mstp_add_clk_domain(struct device_node *np);
|
|
#ifdef CONFIG_CLK_RENESAS_CPG_MSTP
|
|
int cpg_mstp_attach_dev(struct generic_pm_domain *unused, struct device *dev);
|
|
void cpg_mstp_detach_dev(struct generic_pm_domain *unused, struct device *dev);
|
|
#else
|
|
#define cpg_mstp_attach_dev NULL
|
|
#define cpg_mstp_detach_dev NULL
|
|
#endif
|
|
|
|
#ifdef CONFIG_CLK_RENESAS_CPG_MSSR
|
|
int cpg_mssr_attach_dev(struct generic_pm_domain *unused, struct device *dev);
|
|
void cpg_mssr_detach_dev(struct generic_pm_domain *unused, struct device *dev);
|
|
#else
|
|
#define cpg_mssr_attach_dev NULL
|
|
#define cpg_mssr_detach_dev NULL
|
|
#endif
|
|
#endif
|