diff options
author | Jeff Garzik <jeff@garzik.org> | 2008-07-23 03:17:38 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-23 03:17:38 +0200 |
commit | d6f8aa8586dabe605454f3c98a5c1a577c3e0cfb (patch) | |
tree | 18043a736d2a6d33aab704128b601c3c90ed3895 /drivers/net/atl1e | |
parent | r6040: rework init_one error handling (diff) | |
download | linux-d6f8aa8586dabe605454f3c98a5c1a577c3e0cfb.tar.xz linux-d6f8aa8586dabe605454f3c98a5c1a577c3e0cfb.zip |
[netdrvr] atl1d: fix !CONFIG_PM build
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/atl1e')
-rw-r--r-- | drivers/net/atl1e/atl1e_main.c | 2 |
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); |