mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 21:29:49 +07:00
5a78ad6d9c
When STM32_THERMAL is enabled, this overrides all previously
enabled files in the same directory, as seen from this link failure:
ERROR: "st_thermal_pm_ops" [drivers/thermal/st/st_thermal_syscfg.ko] undefined!
ERROR: "st_thermal_register" [drivers/thermal/st/st_thermal_syscfg.ko] undefined!
ERROR: "st_thermal_unregister" [drivers/thermal/st/st_thermal_syscfg.ko] undefined!
The correct syntax in Makefile requires using += instead of :=.
Fixes: 1d69315560
("thermal: add stm32 thermal driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
5 lines
200 B
Makefile
5 lines
200 B
Makefile
obj-$(CONFIG_ST_THERMAL) := st_thermal.o
|
|
obj-$(CONFIG_ST_THERMAL_SYSCFG) += st_thermal_syscfg.o
|
|
obj-$(CONFIG_ST_THERMAL_MEMMAP) += st_thermal_memmap.o
|
|
obj-$(CONFIG_STM32_THERMAL) += stm_thermal.o
|