From: Jeff Garzik Date: Wed, 23 Jul 2008 01:17:38 +0000 (-0400) Subject: [netdrvr] atl1d: fix !CONFIG_PM build X-Git-Tag: v2.6.27-rc1~860^2~2^2 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d6f8aa8586dabe605454f3c98a5c1a577c3e0cfb;p=linux-2.6-omap-h63xx.git [netdrvr] atl1d: fix !CONFIG_PM build Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/atl1e/atl1e_main.c b/drivers/net/atl1e/atl1e_main.c index 367c7275063..35264c244cf 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);