990c10091d
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
knav_dma.c | ||
knav_qmss_acc.c | ||
knav_qmss_queue.c | ||
knav_qmss.h | ||
Makefile | ||
pm33xx.c | ||
ti_sci_pm_domains.c | ||
wkup_m3_ipc.c |