diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2018-07-06 09:47:51 -0700 |
|---|---|---|
| committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2018-07-06 09:47:51 -0700 |
| commit | 990c10091db318c7eb7e8935c86b6f7c01585015 (patch) | |
| tree | bea2302639371a0eb89c116a4781661bb50a6a41 /tools/perf/scripts/python/stackcollapse.py | |
| parent | soc: ti: wkup_m3_ipc: Add wkup_m3_request_wake_src (diff) | |
| download | linux-990c10091db318c7eb7e8935c86b6f7c01585015.tar.gz linux-990c10091db318c7eb7e8935c86b6f7c01585015.zip | |
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: 7a872b6fb7fd ("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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
