diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-02-18 12:39:46 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-02-22 10:46:55 +0100 |
commit | b841118ee6c0917004e7e763c4f6bf8eb10a6d93 (patch) | |
tree | 23c99cac1f325043e9b4310995ad85138dfa5e97 /Documentation/Changes | |
parent | iio: light: jsa1212: Select REGMAP_I2C (diff) | |
download | linux-b841118ee6c0917004e7e763c4f6bf8eb10a6d93.tar.xz linux-b841118ee6c0917004e7e763c4f6bf8eb10a6d93.zip |
iio: common: ssp_sensors: Protect PM-only functions to kill warning
If CONFIG_PM_SLEEP=n:
drivers/iio/common/ssp_sensors/ssp_dev.c:644: warning: ‘ssp_suspend’ defined but not used
drivers/iio/common/ssp_sensors/ssp_dev.c:669: warning: ‘ssp_resume’ defined but not used
Protect the unused functions by #ifdef CONFIG_PM_SLEEP to fix this.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Karol Wrona <k.wrona@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/Changes')
0 files changed, 0 insertions, 0 deletions