linux/drivers/soc/ti
Arnd Bergmann 990c10091d soc: ti: wkup_m3_ipc: mark PM functions as __maybe_unused
Everyone gets these #ifdefs wrong, leading to another warning here:

drivers/soc/ti/wkup_m3_ipc.c:547:12: error: 'wkup_m3_ipc_resume' defined but not used [-Werror=unused-function]
 static int wkup_m3_ipc_resume(struct device *dev)
drivers/soc/ti/wkup_m3_ipc.c:539:12: error: 'wkup_m3_ipc_suspend' defined but not used [-Werror=unused-function]
 static int wkup_m3_ipc_suspend(struct device *dev)

The easiest way to get it right is to remove all the #ifdefs and
let the compiler drop the unused functions silently after we
mark them as __maybe_unused.

Fixes: 7a872b6fb7 ("soc: ti: wkup_m3_ipc: Add rtc_only with ddr in self refresh mode support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
2018-07-06 09:47:51 -07:00
..
Kconfig soc: ti: Add pm33xx driver for basic suspend support 2018-02-27 08:53:46 -08:00
knav_dma.c soc: ti: K2G: provide APIs to support driver probe deferral 2018-04-18 21:00:56 -04:00
knav_qmss_acc.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
knav_qmss_queue.c ARM: SoC driver updates 2018-06-11 18:15:22 -07:00
knav_qmss.h ARM: SoC driver updates 2018-06-11 18:15:22 -07:00
Makefile soc: ti: Add pm33xx driver for basic suspend support 2018-02-27 08:53:46 -08:00
pm33xx.c soc: ti: Add pm33xx driver for basic suspend support 2018-02-27 08:53:46 -08:00
ti_sci_pm_domains.c
wkup_m3_ipc.c soc: ti: wkup_m3_ipc: mark PM functions as __maybe_unused 2018-07-06 09:47:51 -07:00