mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
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 <[email protected]>
Acked-by: Karol Wrona <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>