X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fmacintosh%2Fwindfarm_pid.h;h=bbccc22d42b8f2417fc010b52c5f663d91d8b2ca;hb=d0afc85f15deda94abdfe9118ac225c4208d5897;hp=a364c2a2499caf0f55dc6b364e0d771c61e8a2ec;hpb=ad8f76be48d817b48222411ae16a7dfe257bdb24;p=linux-2.6 diff --git a/drivers/macintosh/windfarm_pid.h b/drivers/macintosh/windfarm_pid.h index a364c2a249..bbccc22d42 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 */