Skip to content
Commit 5f7c0080 authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

drivers: devfreq: Define devfreq_cooling_power outside of defconfig



The struct devfreq_cooling_power is defined only if the devfreq
driver's kernel config flag is defined. Drivers using the devfreq
cooling device APIs without having the devfreq kconfig flag enabled will
have compilation errors because the struct devfreq_cooling_power will
not be defined.

To avoid this, define the struct devfreq_cooling_power and make it
available even when devfreq kernel config flag is not enabled.

Change-Id: I39973c0bbd3f760dc9ce557e8f7308df7b564fad
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 9bf792d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment