]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[netdrvr] atl1d: fix !CONFIG_PM build
authorJeff Garzik <jeff@garzik.org>
Wed, 23 Jul 2008 01:17:38 +0000 (21:17 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 23 Jul 2008 01:17:38 +0000 (21:17 -0400)
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/atl1e/atl1e_main.c

index 367c727506355377d30c129e54fed1dbf900c775..35264c244cfd919802d37adc193b27b60335d44a 100644 (file)
@@ -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);