commit | af5935ec125ef85823ea43fbcfdd3c15b532d199 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa@sang-engineering.com> | Wed Apr 02 13:56:21 2014 +0200 |
committer | Thierry Reding <thierry.reding@gmail.com> | Wed May 21 11:51:26 2014 +0200 |
tree | 93f9c2d28ab4a592723e13b6c1a60092756c2c0f | |
parent | 16fc3352ea58b481f879f8d965b98208ccc279c2 [diff] |
pwm: tiehrpwm: don't build PM related functions when not needed Fixes following warnings on AM335X with no PM_SLEEP drivers/pwm/pwm-tiehrpwm.c:534:13: warning: 'ehrpwm_pwm_save_context' defined but not used [-Wunused-function] drivers/pwm/pwm-tiehrpwm.c:548:13: warning: 'ehrpwm_pwm_restore_context' defined but not used [-Wunused-function] Signed-off-by: Wolfram Sang <wsa@sang-engineering.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>