]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: ti-soc-thermal: bandgap: Fix build warning if !CONFIG_PM_SLEEP
authorGrygorii Strashko <Grygorii.Strashko@linaro.org>
Fri, 6 Feb 2015 14:55:46 +0000 (16:55 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 24 Feb 2015 18:06:05 +0000 (14:06 -0400)
commit5527dea8caaf02cc7e328e4a0eb192cff4e8937c
tree8fd08730a150cc6971e887ad739450a3a33acb81
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
thermal: ti-soc-thermal: bandgap: Fix build warning if !CONFIG_PM_SLEEP

Fix following build warning if CONFIG_PM_SLEEP is not set:

drivers/thermal/ti-soc-thermal/ti-bandgap.c:1478:12: warning: 'ti_bandgap_suspend' defined but not used [-Wunused-function]
 static int ti_bandgap_suspend(struct device *dev)
            ^
drivers/thermal/ti-soc-thermal/ti-bandgap.c:1492:12: warning: 'ti_bandgap_resume' defined but not used [-Wunused-function]
 static int ti_bandgap_resume(struct device *dev)
            ^
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Grygorii Strashko <Grygorii.Strashko@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/ti-soc-thermal/ti-bandgap.c