[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221012062558.732930-5-matej.vasilevski@seznam.cz>
Date: Wed, 12 Oct 2022 08:25:58 +0200
From: Matej Vasilevski <matej.vasilevski@...nam.cz>
To: Pavel Pisa <pisa@....felk.cvut.cz>,
Ondrej Ille <ondrej.ille@...il.com>,
Wolfgang Grandegger <wg@...ndegger.com>,
Marc Kleine-Budde <mkl@...gutronix.de>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Cc: linux-can@...r.kernel.org, netdev@...r.kernel.org,
devicetree@...r.kernel.org,
Matej Vasilevski <matej.vasilevski@...nam.cz>
Subject: [PATCH v5 4/4] can: ctucanfd: remove __maybe_unused from suspend/resume callbacks
Those two functions are always used, because they are exported symbols.
Spotted-by: Marc Kleine-Budde <mkl@...gutronix.de>
Signed-off-by: Matej Vasilevski <matej.vasilevski@...nam.cz>
---
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
Powered by blists - more mailing lists