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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux