Those two functions are always used, because they are exported symbols. Spotted-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> Signed-off-by: Matej Vasilevski <matej.vasilevski@xxxxxxxxx> --- drivers/net/can/ctucanfd/ctucanfd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.25.1