summaryrefslogtreecommitdiffstats
path: root/drivers/powercap/dtpm_subsys.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/powercap/dtpm_subsys.h')
-rw-r--r--drivers/powercap/dtpm_subsys.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/powercap/dtpm_subsys.h b/drivers/powercap/dtpm_subsys.h
index 2a3a2055f60e..db1712938a96 100644
--- a/drivers/powercap/dtpm_subsys.h
+++ b/drivers/powercap/dtpm_subsys.h
@@ -8,11 +8,15 @@
#define ___DTPM_SUBSYS_H__
extern struct dtpm_subsys_ops dtpm_cpu_ops;
+extern struct dtpm_subsys_ops dtpm_devfreq_ops;
struct dtpm_subsys_ops *dtpm_subsys[] = {
#ifdef CONFIG_DTPM_CPU
&dtpm_cpu_ops,
#endif
+#ifdef CONFIG_DTPM_DEVFREQ
+ &dtpm_devfreq_ops,
+#endif
};
#endif