summaryrefslogtreecommitdiff
path: root/drivers/opp/Makefile
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2017-09-27 01:12:40 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-10-03 03:45:12 +0300
commit7813dd6fc75fb375d4caf002e7f80a826fc3153a (patch)
tree37326fb95800c931382c3abda492d207c81aef41 /drivers/opp/Makefile
parent9e66317d3c92ddaab330c125dfe9d06eee268aff (diff)
downloadlinux-7813dd6fc75fb375d4caf002e7f80a826fc3153a.tar.xz
PM / OPP: Move the OPP directory out of power/
The drivers/base/power/ directory is special and contains code related to power management core like system suspend/resume, hibernation, etc. It was fine to keep the OPP code inside it when we had just one file for it, but it is growing now and already has a directory for itself. Lets move it directly under drivers/ directory, just like cpufreq and cpuidle. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/opp/Makefile')
-rw-r--r--drivers/opp/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/opp/Makefile b/drivers/opp/Makefile
new file mode 100644
index 000000000000..e70ceb406fe9
--- /dev/null
+++ b/drivers/opp/Makefile
@@ -0,0 +1,4 @@
+ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
+obj-y += core.o cpu.o
+obj-$(CONFIG_OF) += of.o
+obj-$(CONFIG_DEBUG_FS) += debugfs.o