mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
5835919319
Building without CONFIG_PM results in a harmless warning:
drivers/net/can/m_can/m_can.c:1763:12: error: 'm_can_runtime_resume' defined but not used [-Werror=unused-function]
drivers/net/can/m_can/m_can.c:1752:12: error: 'm_can_runtime_suspend' defined but not used [-Werror=unused-function]
Marking the functions as __maybe_unused lets the compiler
silently drop them instead.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
m_can.c | ||
Makefile |