diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-12-14 21:00:08 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 11:53:25 -0500 |
commit | 471452104b8520337ae2fb48c4e61cd4896e025d (patch) | |
tree | 8594ae4a8362014e3cccf72a4e8834cdbb610bdd /drivers/net | |
parent | 0ead0f84e81a41c3e98aeceab04af8ab1bb08d1f (diff) |
const: constify remaining dev_pm_ops
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/3c59x.c | 2 | ||||
-rw-r--r-- | drivers/net/dm9000.c | 2 | ||||
-rw-r--r-- | drivers/net/r8169.c | 2 | ||||
-rw-r--r-- | drivers/net/smsc911x.c | 2 | ||||
-rw-r--r-- | drivers/net/vmxnet3/vmxnet3_drv.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c index 78b7167a8ce3..39db0e96815d 100644 --- a/drivers/net/3c59x.c +++ b/drivers/net/3c59x.c | |||
@@ -837,7 +837,7 @@ static int vortex_resume(struct device *dev) | |||
837 | return 0; | 837 | return 0; |
838 | } | 838 | } |
839 | 839 | ||
840 | static struct dev_pm_ops vortex_pm_ops = { | 840 | static const struct dev_pm_ops vortex_pm_ops = { |
841 | .suspend = vortex_suspend, | 841 | .suspend = vortex_suspend, |
842 | .resume = vortex_resume, | 842 | .resume = vortex_resume, |
843 | .freeze = vortex_suspend, | 843 | .freeze = vortex_suspend, |
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c index 0cbe3c0e7c06..b37730065688 100644 --- a/drivers/net/dm9000.c +++ b/drivers/net/dm9000.c | |||
@@ -1646,7 +1646,7 @@ dm9000_drv_resume(struct device *dev) | |||
1646 | return 0; | 1646 | return 0; |
1647 | } | 1647 | } |
1648 | 1648 | ||
1649 | static struct dev_pm_ops dm9000_drv_pm_ops = { | 1649 | static const struct dev_pm_ops dm9000_drv_pm_ops = { |
1650 | .suspend = dm9000_drv_suspend, | 1650 | .suspend = dm9000_drv_suspend, |
1651 | .resume = dm9000_drv_resume, | 1651 | .resume = dm9000_drv_resume, |
1652 | }; | 1652 | }; |
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index acfc5a3aa490..60f96c468a24 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -4859,7 +4859,7 @@ out: | |||
4859 | return 0; | 4859 | return 0; |
4860 | } | 4860 | } |
4861 | 4861 | ||
4862 | static struct dev_pm_ops rtl8169_pm_ops = { | 4862 | static const struct dev_pm_ops rtl8169_pm_ops = { |
4863 | .suspend = rtl8169_suspend, | 4863 | .suspend = rtl8169_suspend, |
4864 | .resume = rtl8169_resume, | 4864 | .resume = rtl8169_resume, |
4865 | .freeze = rtl8169_suspend, | 4865 | .freeze = rtl8169_suspend, |
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c index 20d6095cf411..494cd91ea39c 100644 --- a/drivers/net/smsc911x.c +++ b/drivers/net/smsc911x.c | |||
@@ -2154,7 +2154,7 @@ static int smsc911x_resume(struct device *dev) | |||
2154 | return (to == 0) ? -EIO : 0; | 2154 | return (to == 0) ? -EIO : 0; |
2155 | } | 2155 | } |
2156 | 2156 | ||
2157 | static struct dev_pm_ops smsc911x_pm_ops = { | 2157 | static const struct dev_pm_ops smsc911x_pm_ops = { |
2158 | .suspend = smsc911x_suspend, | 2158 | .suspend = smsc911x_suspend, |
2159 | .resume = smsc911x_resume, | 2159 | .resume = smsc911x_resume, |
2160 | }; | 2160 | }; |
diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c b/drivers/net/vmxnet3/vmxnet3_drv.c index 1ceb9d0f8b97..9cc438282d77 100644 --- a/drivers/net/vmxnet3/vmxnet3_drv.c +++ b/drivers/net/vmxnet3/vmxnet3_drv.c | |||
@@ -2689,7 +2689,7 @@ vmxnet3_resume(struct device *device) | |||
2689 | return 0; | 2689 | return 0; |
2690 | } | 2690 | } |
2691 | 2691 | ||
2692 | static struct dev_pm_ops vmxnet3_pm_ops = { | 2692 | static const struct dev_pm_ops vmxnet3_pm_ops = { |
2693 | .suspend = vmxnet3_suspend, | 2693 | .suspend = vmxnet3_suspend, |
2694 | .resume = vmxnet3_resume, | 2694 | .resume = vmxnet3_resume, |
2695 | }; | 2695 | }; |