pwm: tiehrpwm: don't build PM related functions when not needed
authorWolfram Sang <wsa@sang-engineering.com>
Wed, 2 Apr 2014 11:56:21 +0000 (13:56 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 21 May 2014 09:51:26 +0000 (11:51 +0200)
commitaf5935ec125ef85823ea43fbcfdd3c15b532d199
tree93f9c2d28ab4a592723e13b6c1a60092756c2c0f
parent16fc3352ea58b481f879f8d965b98208ccc279c2
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>
drivers/pwm/pwm-tiehrpwm.c
This page took 0.027591 seconds and 5 git commands to generate.