The commit
489b687c3e1f ("devfreq_cooling: pass a pointer to devfreq
in the power model callbacks") changes the parameters for power model
callbacks. This patch fixes the build error.
Change-Id: I3cb2c9f3ecb97b0c4662009c1a7dfcff6dfc423e
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
static s32 ts[4];
static struct thermal_zone_device *gpu_tz;
-static unsigned long model_static_power(unsigned long voltage)
+static unsigned long model_static_power(struct devfreq *df, unsigned long voltage)
{
unsigned int temperature, temp;
unsigned long temp_squared, temp_cubed, temp_scaling_factor;
/ 1000000;
}
-static unsigned long model_dynamic_power(unsigned long freq,
+static unsigned long model_dynamic_power(struct devfreq *df, unsigned long freq,
unsigned long voltage)
{
/* The inputs: freq (f) is in Hz, and voltage (v) in mV.