Commits
Suman Anna committed 871a5c28a55
remoteproc/omap: fix build warnings for !CONFIG_PM_SLEEP The suspend/resume callbacks need to be enclosed using a CONFIG_PM_SLEEP ifdef to avoid build warnings like below with various defconfigs where CONFIG_PM_SLEEP is disabled but CONFIG_PM is enabled. drivers/remoteproc/omap_remoteproc.c:726:12: warning: 'omap_rproc_suspend' defined but not used [-Wunused-function] static int omap_rproc_suspend(struct device *dev) ^ drivers/remoteproc/omap_remoteproc.c:769:12: warning: 'omap_rproc_resume' defined but not used [-Wunused-function] static int omap_rproc_resume(struct device *dev) ^ Fixes: 4c44048130b4 ("remoteproc/omap: add support for system suspend/resume") Signed-off-by: Suman Anna <s-anna@ti.com>