OSDN Git Service

thermal: st: fix Makefile typo
authorArnd Bergmann <arnd@arndb.de>
Mon, 10 Dec 2018 21:57:27 +0000 (22:57 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 2 Jan 2019 12:47:16 +0000 (04:47 -0800)
commit5a78ad6d9c1b2c3c3226528346e9794ed3504381
tree63e19760a34be8fc4ae2d6cd0f14c283a3924c7b
parentca74472dead17ad8e5de92c054d71109ef8a4beb
thermal: st: fix Makefile typo

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: 1d6931556073 ("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>
drivers/thermal/st/Makefile