diff options
Diffstat (limited to 'drivers/net/ethernet/wiznet/w5300.c')
-rw-r--r-- | drivers/net/ethernet/wiznet/w5300.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/wiznet/w5300.c b/drivers/net/ethernet/wiznet/w5300.c index 7cbd0e6fc6f3..6e00e3f94ce4 100644 --- a/drivers/net/ethernet/wiznet/w5300.c +++ b/drivers/net/ethernet/wiznet/w5300.c | |||
@@ -666,7 +666,7 @@ static int w5300_remove(struct platform_device *pdev) | |||
666 | return 0; | 666 | return 0; |
667 | } | 667 | } |
668 | 668 | ||
669 | #ifdef CONFIG_PM | 669 | #ifdef CONFIG_PM_SLEEP |
670 | static int w5300_suspend(struct device *dev) | 670 | static int w5300_suspend(struct device *dev) |
671 | { | 671 | { |
672 | struct platform_device *pdev = to_platform_device(dev); | 672 | struct platform_device *pdev = to_platform_device(dev); |
@@ -699,7 +699,7 @@ static int w5300_resume(struct device *dev) | |||
699 | } | 699 | } |
700 | return 0; | 700 | return 0; |
701 | } | 701 | } |
702 | #endif /* CONFIG_PM */ | 702 | #endif /* CONFIG_PM_SLEEP */ |
703 | 703 | ||
704 | static SIMPLE_DEV_PM_OPS(w5300_pm_ops, w5300_suspend, w5300_resume); | 704 | static SIMPLE_DEV_PM_OPS(w5300_pm_ops, w5300_suspend, w5300_resume); |
705 | 705 | ||