linux_dsm_epyc7002/drivers/net/can/m_can
Arnd Bergmann 5835919319 can: m_can: mark runtime-PM handlers as __maybe_unused
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: cdf8259d65 ("can: m_can: Add PM Support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2018-01-19 10:41:15 +01:00
..
Kconfig can: m_can: add CONFIG_HAS_IOMEM dependence 2014-11-18 21:35:02 +01:00
m_can.c can: m_can: mark runtime-PM handlers as __maybe_unused 2018-01-19 10:41:15 +01:00
Makefile can: m_can: add Bosch M_CAN controller support 2014-08-18 01:03:41 +02:00