diff mbox series

[v5,4/4] can: ctucanfd: remove __maybe_unused from suspend/resume callbacks

Message ID 20221012062558.732930-5-matej.vasilevski@seznam.cz
State New
Headers show
Series can: ctucanfd: hardware rx timestamps reporting | expand

Commit Message

Matej Vasilevski Oct. 12, 2022, 6:25 a.m. UTC
Those two functions are always used, because they are exported symbols.

Spotted-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Matej Vasilevski <matej.vasilevski@seznam.cz>
---
 drivers/net/can/ctucanfd/ctucanfd.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/net/can/ctucanfd/ctucanfd.h b/drivers/net/can/ctucanfd/ctucanfd.h
index cf4d8cc5349e..756b46076f98 100644
--- a/drivers/net/can/ctucanfd/ctucanfd.h
+++ b/drivers/net/can/ctucanfd/ctucanfd.h
@@ -90,8 +90,8 @@  int ctucan_probe_common(struct device *dev, void __iomem *addr,
 						struct net_device *ndev));
 void ctucan_remove_common(struct ctucan_priv *priv);
 
-int ctucan_suspend(struct device *dev) __maybe_unused;
-int ctucan_resume(struct device *dev) __maybe_unused;
+int ctucan_suspend(struct device *dev);
+int ctucan_resume(struct device *dev);
 int ctucan_runtime_resume(struct device *dev);
 int ctucan_runtime_suspend(struct device *dev);