From: David S. Miller Date: Thu, 19 May 2011 22:44:41 +0000 (-0400) Subject: atl1c: atl1c_resume() is only used when CONFIG_PM_SLEEP is defined. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d187c1aab8d30771bb781c745b150f6159467d6f;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git atl1c: atl1c_resume() is only used when CONFIG_PM_SLEEP is defined. Signed-off-by: David S. Miller --- diff --git a/drivers/net/atl1c/atl1c_main.c b/drivers/net/atl1c/atl1c_main.c index 48868de386a0..1269ba5d6e56 100644 --- 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) {