From: Benjamin Herrenschmidt Date: Wed, 27 Nov 2013 00:35:47 +0000 (+1100) Subject: powerpc/windfarm: Fix XServe G5 fan control Makefile issue X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=721cb59e9d95eb7f47ec73711ed35ef85e1ea1ca;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git powerpc/windfarm: Fix XServe G5 fan control Makefile issue We are missing building windfarm_max6690_sensor.o when building CONFIG_WINDFARM_RM31. Usually all the windfarm drivers are built and thus this isn't a problem but some more "tailored" setups (Gentoo ?) building only that driver are not working because the require sensor module is missing. Reported-by: Stanislav Ponomarev Signed-off-by: Benjamin Herrenschmidt --- diff --git a/drivers/macintosh/Makefile b/drivers/macintosh/Makefile index 6753b65f8ede..d2f0120bc878 100644 --- a/drivers/macintosh/Makefile +++ b/drivers/macintosh/Makefile @@ -40,6 +40,7 @@ obj-$(CONFIG_WINDFARM_RM31) += windfarm_fcu_controls.o \ windfarm_ad7417_sensor.o \ windfarm_lm75_sensor.o \ windfarm_lm87_sensor.o \ + windfarm_max6690_sensor.o \ windfarm_pid.o \ windfarm_cpufreq_clamp.o \ windfarm_rm31.o