From: Wolfram Sang Date: Wed, 2 Apr 2014 11:56:21 +0000 (+0200) Subject: pwm: tiehrpwm: don't build PM related functions when not needed X-Git-Tag: omap-for-v3.16/fixes-against-rc1~51^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af5935ec125ef85823ea43fbcfdd3c15b532d199;p=pandora-kernel.git 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 Signed-off-by: Thierry Reding --- Reading git-diff-tree failed