aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-05-17 22:20:07 +0200
committerGreg Kroah-Hartman <[email protected]>2023-05-31 10:46:59 +0100
commitae62c49c0ceff20dc7c1fad4a5b8f91d64b4f628 (patch)
treef9932dbde5c8343a6c125e491aa7733f838c46c4 /tools/perf/scripts/python/sctop.py
parentc53aab20762255ee03e65dd66b3cba3887ad39d1 (diff)
serial: 8250: omap: convert to modern PM ops
The new uart_write() function is only called from suspend/resume code, causing a build warning when those are left out: drivers/tty/serial/8250/8250_omap.c:169:13: error: 'uart_write' defined but not used [-Werror=unused-function] Remove the #ifdefs and use the modern pm_ops/pm_sleep_ops and their wrappers to let the compiler see where it's used but still drop the dead code. Fixes: 398cecc24846 ("serial: 8250: omap: Fix imprecise external abort for omap_8250_pm()") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Tony Lindgren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions