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: Ram Chandrasekar <rkumbako@codeaurora.org>
Loading
Please register or sign in to comment