From: Dan Murphy Date: Mon, 20 Oct 2014 19:52:02 +0000 (-0500) Subject: iio: tsl4531: Fix compiler error when CONFIG_PM_OPS is not defined X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~142^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03045bcf312961cc75b2719aad6b4d69907884db;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed