]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c5980a27b490518fc305e4855d3535db2d3e3eb
tree898933471e7f59def3dd109e5e999912a271efdb
parentbe3adee99708b4ecee50efdeb31b12a03652323a
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