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

Commit aab6fb82 authored by Guo-Fu Tseng's avatar Guo-Fu Tseng Committed by David S. Miller
Browse files

jme: Fix compile warning introduced by new pm macro



SIMPLE_DEV_PM_OPS is using SET_SYSTEM_SLEEP_PM_OPS
and SET_SYSTEM_SLEEP_PM_OPS is empty when CONFIG_PM_SLEEP
is not defined.

Switching #ifdef CONFIG_PM to #ifdef CONFIG_PM_SLEEP

Signed-off-by: default avatarGuo-Fu Tseng <cooldavid@cooldavid.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b21f3c7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3135,7 +3135,7 @@ jme_shutdown(struct pci_dev *pdev)
	pci_pme_active(pdev, true);
}

#ifdef CONFIG_PM
#ifdef CONFIG_PM_SLEEP
static int jme_suspend(struct device *dev)
{
	struct pci_dev *pdev = to_pci_dev(dev);