pwm: Fix compilation error when CONFIG_PWM is not defined
authorTushar Behera <tushar.behera@linaro.org>
Wed, 12 Sep 2012 10:01:46 +0000 (15:31 +0530)
committerThierry Reding <thierry.reding@avionic-design.de>
Thu, 20 Sep 2012 10:52:02 +0000 (12:52 +0200)
commit0bcf168b024871c64eb5df157739efd2ae9b0bdf
tree565639539efdc981bd9a7a83dfa1310f8553f902
parent7b27c160c68152581c702b9f1fe362338d2a0cad
pwm: Fix compilation error when CONFIG_PWM is not defined

Add dummy implemention of public symbols for compilation-safe inclusion
of include/linux/pwm.h file when CONFIG_PWM is not defined.

Reported-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
include/linux/pwm.h