diff options
| author | Arnd Bergmann <[email protected]> | 2019-10-22 16:27:31 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2019-11-01 13:33:42 +0800 |
| commit | fbbfb3f83e7866d953a26aa9a8c5e75e9ff11952 (patch) | |
| tree | 391ff28108d9bf8eed329edbb813de2ded5e0b1c /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 13a1bb93f7b1c90099c557696951884ea7dcda34 (diff) | |
hwrng: omap3-rom - Fix unused function warnings
When runtime-pm is disabled, we get a few harmless warnings:
drivers/char/hw_random/omap3-rom-rng.c:65:12: error: unused function 'omap_rom_rng_runtime_suspend' [-Werror,-Wunused-function]
drivers/char/hw_random/omap3-rom-rng.c:81:12: error: unused function 'omap_rom_rng_runtime_resume' [-Werror,-Wunused-function]
Mark these functions as __maybe_unused so gcc can drop them
silently.
Fixes: 8d9d4bdc495f ("hwrng: omap3-rom - Use runtime PM instead of custom functions")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions