summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-23 03:19:22 +0200
committerDavid S. Miller <davem@davemloft.net>2008-07-23 03:19:22 +0200
commit380bab10de09c22c813ae83f8e148f5a46c1de40 (patch)
tree9deef2961e44d80d4c295f5eeba04ddf6f589dc5 /drivers/net
parentMerge branch 'upstream-davem' of master.kernel.org:/pub/scm/linux/kernel/git/... (diff)
parent[netdrvr] atl1d: fix !CONFIG_PM build (diff)
downloadlinux-380bab10de09c22c813ae83f8e148f5a46c1de40.tar.xz
linux-380bab10de09c22c813ae83f8e148f5a46c1de40.zip
Merge branch 'upstream-davem' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/atl1e/atl1e_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atl1e/atl1e_main.c b/drivers/net/atl1e/atl1e_main.c
index 367c72750635..35264c244cfd 100644
--- a/drivers/net/atl1e/atl1e_main.c
+++ b/drivers/net/atl1e/atl1e_main.c
@@ -2073,7 +2073,6 @@ static int atl1e_close(struct net_device *netdev)
return 0;
}
-#ifdef CONFIG_PM
static int atl1e_suspend(struct pci_dev *pdev, pm_message_t state)
{
struct net_device *netdev = pci_get_drvdata(pdev);
@@ -2207,6 +2206,7 @@ suspend_exit:
return 0;
}
+#ifdef CONFIG_PM
static int atl1e_resume(struct pci_dev *pdev)
{
struct net_device *netdev = pci_get_drvdata(pdev);