diff options
author | David S. Miller <davem@davemloft.net> | 2010-03-17 02:36:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-17 02:36:24 -0400 |
commit | e50208a080a8abdfa6c85865362a1cf329e9fe31 (patch) | |
tree | 0e02999c4e2eed2f8e37fcd12792a4ade88e2c9c /drivers/net/e1000e | |
parent | fa05e1ad1b61b37fb64a66794c11ab478e975c56 (diff) |
e1000e: Fix build with CONFIG_PM disabled.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e')
-rw-r--r-- | drivers/net/e1000e/netdev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index 79b33c512dfd..b96532a38322 100644 --- a/drivers/net/e1000e/netdev.c +++ b/drivers/net/e1000e/netdev.c | |||
@@ -5475,6 +5475,7 @@ static DEFINE_PCI_DEVICE_TABLE(e1000_pci_tbl) = { | |||
5475 | }; | 5475 | }; |
5476 | MODULE_DEVICE_TABLE(pci, e1000_pci_tbl); | 5476 | MODULE_DEVICE_TABLE(pci, e1000_pci_tbl); |
5477 | 5477 | ||
5478 | #ifdef CONFIG_PM | ||
5478 | static const struct dev_pm_ops e1000_pm_ops = { | 5479 | static const struct dev_pm_ops e1000_pm_ops = { |
5479 | .suspend = e1000_suspend, | 5480 | .suspend = e1000_suspend, |
5480 | .resume = e1000_resume, | 5481 | .resume = e1000_resume, |
@@ -5486,6 +5487,7 @@ static const struct dev_pm_ops e1000_pm_ops = { | |||
5486 | .runtime_resume = e1000_runtime_resume, | 5487 | .runtime_resume = e1000_runtime_resume, |
5487 | .runtime_idle = e1000_idle, | 5488 | .runtime_idle = e1000_idle, |
5488 | }; | 5489 | }; |
5490 | #endif | ||
5489 | 5491 | ||
5490 | /* PCI Device API Driver */ | 5492 | /* PCI Device API Driver */ |
5491 | static struct pci_driver e1000_driver = { | 5493 | static struct pci_driver e1000_driver = { |