Re: [PATCH] iio: tsl4531: Fix compiler error when CONFIG_PM_OPS is not defined

2014-10-25 Thread Jonathan Cameron
On 20/10/14 20:52, Dan Murphy wrote: > Fix the compiler error when the CONFIG_PM_OPS flag is not set. > > drivers/iio/light/tsl4531.c:235:8: error: ‘tsl4531_suspend’ undeclared here > (not in a function) > drivers/iio/light/tsl4531.c:235:8: error: ‘tsl4531_resume’ undeclared here > (not in a fun

[PATCH] iio: tsl4531: Fix compiler error when CONFIG_PM_OPS is not defined

2014-10-20 Thread Dan Murphy
Fix the compiler error when the CONFIG_PM_OPS flag is not set. drivers/iio/light/tsl4531.c:235:8: error: ‘tsl4531_suspend’ undeclared here (not in a function) drivers/iio/light/tsl4531.c:235:8: error: ‘tsl4531_resume’ undeclared here (not in a function) Signed-off-by: Dan Murphy --- drivers/i