From: Stephen Rothwell Date: Wed, 2 May 2012 18:34:52 +0000 (+0000) Subject: powerpc/windfarm: fix compiler warning X-Git-Tag: v3.5-rc1~132^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca7d593e0ac8cf806aa750815daf12594345f5f6;p=pandora-kernel.git powerpc/windfarm: fix compiler warning Fixes this warning: drivers/macintosh/windfarm_pm91.c: In function 'wf_smu_cpu_fans_tick': drivers/macintosh/windfarm_pm91.c:237:2: warning: passing argument 1 of 'wf_sensor_get' from incompatible pointer type drivers/macintosh/windfarm.h:124:19: note: expected 'struct wf_sensor *' but argument is of type 'struct wf_sensor **' Introduced by commit 33e6820b767a ("powerpc/windfarm: Add useful accessors"). Signed-off-by: Stephen Rothwell Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed