Merge tag 'linux-watchdog-5.20-rc1' of git://www.linux-watchdog.org/linux-watchdog
[linux-2.6-block.git] / drivers / powercap / dtpm_subsys.h
CommitLineData
b9794a82
DL
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2022 Linaro Ltd
4 *
5 * Author: Daniel Lezcano <daniel.lezcano@linaro.org>
6 */
7#ifndef ___DTPM_SUBSYS_H__
8#define ___DTPM_SUBSYS_H__
9
10extern struct dtpm_subsys_ops dtpm_cpu_ops;
e4465561 11extern struct dtpm_subsys_ops dtpm_devfreq_ops;
b9794a82
DL
12
13struct dtpm_subsys_ops *dtpm_subsys[] = {
14#ifdef CONFIG_DTPM_CPU
15 &dtpm_cpu_ops,
16#endif
e4465561
DL
17#ifdef CONFIG_DTPM_DEVFREQ
18 &dtpm_devfreq_ops,
19#endif
b9794a82
DL
20};
21
22#endif