Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / powercap / dtpm_subsys.h
blobdb1712938a969b825af179ceaa528c4fb0e136ae
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2022 Linaro Ltd
5 * Author: Daniel Lezcano <daniel.lezcano@linaro.org>
6 */
7 #ifndef ___DTPM_SUBSYS_H__
8 #define ___DTPM_SUBSYS_H__
10 extern struct dtpm_subsys_ops dtpm_cpu_ops;
11 extern struct dtpm_subsys_ops dtpm_devfreq_ops;
13 struct dtpm_subsys_ops *dtpm_subsys[] = {
14 #ifdef CONFIG_DTPM_CPU
15 &dtpm_cpu_ops,
16 #endif
17 #ifdef CONFIG_DTPM_DEVFREQ
18 &dtpm_devfreq_ops,
19 #endif
22 #endif