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

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

atl1c: atl1c_resume() is only used when CONFIG_PM_SLEEP is defined.

parent 2a642550
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2537,6 +2537,7 @@ static int atl1c_suspend(struct device *dev)
	return 0;
}

#ifdef CONFIG_PM_SLEEP
static int atl1c_resume(struct device *dev)
{
	struct pci_dev *pdev = to_pci_dev(dev);
@@ -2563,6 +2564,7 @@ static int atl1c_resume(struct device *dev)

	return 0;
}
#endif

static void atl1c_shutdown(struct pci_dev *pdev)
{