projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a64255
)
atl1c: atl1c_resume() is only used when CONFIG_PM_SLEEP is defined.
author
David S. Miller
<davem@davemloft.net>
Thu, 19 May 2011 22:44:41 +0000
(18:44 -0400)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 May 2011 22:44:41 +0000
(18:44 -0400)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/atl1c/atl1c_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/atl1c/atl1c_main.c
b/drivers/net/atl1c/atl1c_main.c
index 48868de386a042a0a324fe2da0b28d38c326962a..1269ba5d6e56d67b75d244d0bb89e8948d08a251 100644
(file)
--- a/
drivers/net/atl1c/atl1c_main.c
+++ b/
drivers/net/atl1c/atl1c_main.c
@@
-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)
{