aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/windfarm_pid.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/macintosh/windfarm_pid.h')
-rw-r--r--drivers/macintosh/windfarm_pid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/macintosh/windfarm_pid.h b/drivers/macintosh/windfarm_pid.h
index a364c2a2499caf..bbccc22d42b8f2 100644
--- a/drivers/macintosh/windfarm_pid.h
+++ b/drivers/macintosh/windfarm_pid.h
@@ -72,6 +72,7 @@ struct wf_cpu_pid_state {
int index; /* index of current power */
int tindex; /* index of current temp */
s32 target; /* current target value */
+ s32 last_delta; /* last Tactual - Ttarget */
s32 powers[WF_PID_MAX_HISTORY]; /* power history buffer */
s32 errors[WF_PID_MAX_HISTORY]; /* error history buffer */
s32 temps[2]; /* temp. history buffer */