powerpc/windfarm: fix compiler warning
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 2 May 2012 18:34:52 +0000 (18:34 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 3 May 2012 06:54:53 +0000 (16:54 +1000)
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 <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found