Commits
Dave Gerlach committed fc2eb0a717d
soc: ti: wkup_m3_ipc: Clean up pm_ops to prevent build warnings Wrap wkup_m3_ipc_resume in CONFIG_PM_SLEEP instead of CONFIG_PM and move the pm_ops struct outside of the ifdef to avoid the ifdef later in the platform_driver definition. Otherwise we see this warning on build with !CONFIG_SUSPEND: drivers/soc/ti/wkup_m3_ipc.c:648:12: warning: ‘wkup_m3_ipc_resume’ defined but not used [-Wunused-function] static int wkup_m3_ipc_resume(struct device *dev) Fixes: 85b7e7b2abb6 ("soc: ti: wkup_m3_ipc: Add rtc_only support") Reported-by: Suman Anna <s-anna@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com>