projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b21f3c7
)
jme: Fix compile warning introduced by new pm macro
author
Guo-Fu Tseng
<cooldavid@cooldavid.org>
Mon, 27 Jun 2011 19:23:34 +0000
(19:23 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 1 Jul 2011 05:13:16 +0000
(22:13 -0700)
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: Guo-Fu Tseng <cooldavid@cooldavid.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/jme.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/jme.c
b/drivers/net/jme.c
index b5b174a8c149be9f07e56d8b9f07524ea3505792..2ce93393320cec4de6d991c39fe40ddabcc930a1 100644
(file)
--- a/
drivers/net/jme.c
+++ b/
drivers/net/jme.c
@@
-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);