Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0e09738 authored by Junjie Wu's avatar Junjie Wu
Browse files

msm: cpufreq: Move cpufreq to drivers/cpufreq/



Architecutural changes in the ARM Linux kernel tree mandate the
eventual removal of the mach-* directories. Move mach/cpufreq to
driver/cpufreq/. Also move related header to include/linux.

Change-Id: I6dcf69e275b7ca7ba913e945353a42f0d6321731
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent cf54c951
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -89,9 +89,7 @@ obj-$(CONFIG_MSM_SMCMOD) += smcmod.o

obj-$(CONFIG_ARCH_MSM8974) += msm_mpmctr.o
obj-$(CONFIG_MSM_CPR_REGULATOR) += cpr-regulator.o
obj-$(CONFIG_CPU_FREQ_MSM) += cpufreq.o
obj-$(CONFIG_MSM_DEVFREQ_CPUBW) += devfreq_cpubw.o


obj-$(CONFIG_ARCH_RANDOM) += early_random.o
obj-$(CONFIG_PERFMAP) += perfmap.o
+1 −0
Original line number Diff line number Diff line
@@ -71,6 +71,7 @@ obj-$(CONFIG_ARM_SA1100_CPUFREQ) += sa1100-cpufreq.o
obj-$(CONFIG_ARM_SA1110_CPUFREQ)	+= sa1110-cpufreq.o
obj-$(CONFIG_ARM_SPEAR_CPUFREQ)		+= spear-cpufreq.o
obj-$(CONFIG_ARCH_TEGRA)		+= tegra-cpufreq.o
obj-$(CONFIG_ARCH_MSM)			+= qcom-cpufreq.o

##################################################################################
# PowerPC platform drivers
+1 −1
Original line number Diff line number Diff line
@@ -31,8 +31,8 @@
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <soc/qcom/cpufreq.h>
#include <trace/events/power.h>
#include <mach/cpufreq.h>

#ifdef CONFIG_DEBUG_FS
#include <linux/debugfs.h>
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2013, The Linux Foundation. All rights reserved.
 * Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -12,7 +12,7 @@
 */

#include <linux/devfreq.h>
#include <mach/cpufreq.h>
#include <soc/qcom/cpufreq.h>
#include "governor.h"

DEFINE_MUTEX(df_lock);