cpufreq: Add dummy cpufreq_cpu_get/put for CONFIG_CPU_FREQ=n
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Oct 2013 08:56:11 +0000 (10:56 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 18 Oct 2013 13:05:29 +0000 (15:05 +0200)
commitc75b505ddaa08098940441226bb3a87c5b3179c0
treed428db5b3aed36aa35342d132646622b9a8ab23d
parent53155c0a5949d5cc3bd434d838e5b0c6e0542f9b
cpufreq: Add dummy cpufreq_cpu_get/put for CONFIG_CPU_FREQ=n

The drm/i915 driver wants to adjust it's own power policies using the
cpu policies as a guideline (we can implicitly boost the cpus through
the gpus on some platforms). To avoid a dreaded select (since a
depends will leave users wondering where where their driver has gone
too) add dummy functions.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: kbuild test robot <fengguang.wu@intel.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: cpufreq@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/linux/cpufreq.h