Re: [PATCH v4] pwm: Fix compilation error when CONFIG_PWM is not defined

2012-09-17 Thread Thierry Reding
On Wed, Sep 12, 2012 at 03:31:46PM +0530, Tushar Behera wrote: > 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 > Signed-off-by: Tushar Behera > --- > Changes since v3: > * Nitpic

[PATCH v4] pwm: Fix compilation error when CONFIG_PWM is not defined

2012-09-12 Thread Tushar Behera
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 Signed-off-by: Tushar Behera --- Changes since v3: * Nitpicks Changes since v2: * #if condition for legacy functions modified * Reverted