iio: tsl4531: Fix compiler error when CONFIG_PM_OPS is not defined
authorDan Murphy <dmurphy@ti.com>
Mon, 20 Oct 2014 19:52:02 +0000 (14:52 -0500)
committerJonathan Cameron <jic23@kernel.org>
Wed, 5 Nov 2014 18:33:45 +0000 (18:33 +0000)
commit03045bcf312961cc75b2719aad6b4d69907884db
tree898933471e7f59def3dd109e5e999912a271efdb
parent4748119f1889b4ce96c84831ad0581598081b46f
iio: tsl4531: Fix compiler error when CONFIG_PM_OPS is not defined

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 <dmurphy@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/tsl4531.c