summaryrefslogtreecommitdiff
path: root/drivers/vfio/Makefile
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-18 14:04:42 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2018-01-19 10:41:15 +0100
commit58359193193c4261d340b2f7f028e5096d4e4d15 (patch)
tree3e9b17540fef8b02124cc5fee66b752aab7c02e1 /drivers/vfio/Makefile
parentef58ca38dbda0642e293bcaa2e05edc79677c617 (diff)
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: cdf8259d6573 ("can: m_can: Add PM Support") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/vfio/Makefile')
0 files changed, 0 insertions, 0 deletions