Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa73dc95 authored by David S. Miller's avatar David S. Miller
Browse files

Merge tag 'linux-can-next-for-4.16-20180119' of...

Merge tag 'linux-can-next-for-4.16-20180119' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next



Marc Kleine-Budde says:

====================
pull-request: can-next 2018-01-16

this is a pull request for net-next/master consisting of 1 patch.

This patch by Arnd Bergmann for the m_can driver silences a compiler
warning if CONFIG_PM is not selected.
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents 8b7d8287 58359193
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1749,7 +1749,7 @@ static int m_can_plat_remove(struct platform_device *pdev)
	return 0;
}

static int m_can_runtime_suspend(struct device *dev)
static int __maybe_unused m_can_runtime_suspend(struct device *dev)
{
	struct net_device *ndev = dev_get_drvdata(dev);
	struct m_can_priv *priv = netdev_priv(ndev);
@@ -1760,7 +1760,7 @@ static int m_can_runtime_suspend(struct device *dev)
	return 0;
}

static int m_can_runtime_resume(struct device *dev)
static int __maybe_unused m_can_runtime_resume(struct device *dev)
{
	struct net_device *ndev = dev_get_drvdata(dev);
	struct m_can_priv *priv = netdev_priv(ndev);