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/pcmcia | |
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/pcmcia')
-rw-r--r-- | drivers/pcmcia/pxa2xx_base.c | 2 | ||||
-rw-r--r-- | drivers/pcmcia/yenta_socket.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pcmcia/pxa2xx_base.c b/drivers/pcmcia/pxa2xx_base.c index da346eb7e77e..3aabf1e37988 100644 --- a/drivers/pcmcia/pxa2xx_base.c +++ b/drivers/pcmcia/pxa2xx_base.c | |||
@@ -336,7 +336,7 @@ static int pxa2xx_drv_pcmcia_resume(struct device *dev) | |||
336 | return pcmcia_socket_dev_resume(dev); | 336 | return pcmcia_socket_dev_resume(dev); |
337 | } | 337 | } |
338 | 338 | ||
339 | static struct dev_pm_ops pxa2xx_drv_pcmcia_pm_ops = { | 339 | static const struct dev_pm_ops pxa2xx_drv_pcmcia_pm_ops = { |
340 | .suspend = pxa2xx_drv_pcmcia_suspend, | 340 | .suspend = pxa2xx_drv_pcmcia_suspend, |
341 | .resume = pxa2xx_drv_pcmcia_resume, | 341 | .resume = pxa2xx_drv_pcmcia_resume, |
342 | }; | 342 | }; |
diff --git a/drivers/pcmcia/yenta_socket.c b/drivers/pcmcia/yenta_socket.c index fe02cfd4b5e9..e4d12acdd525 100644 --- a/drivers/pcmcia/yenta_socket.c +++ b/drivers/pcmcia/yenta_socket.c | |||
@@ -1330,7 +1330,7 @@ static int yenta_dev_resume(struct device *dev) | |||
1330 | return 0; | 1330 | return 0; |
1331 | } | 1331 | } |
1332 | 1332 | ||
1333 | static struct dev_pm_ops yenta_pm_ops = { | 1333 | static const struct dev_pm_ops yenta_pm_ops = { |
1334 | .suspend_noirq = yenta_dev_suspend_noirq, | 1334 | .suspend_noirq = yenta_dev_suspend_noirq, |
1335 | .resume_noirq = yenta_dev_resume_noirq, | 1335 | .resume_noirq = yenta_dev_resume_noirq, |
1336 | .resume = yenta_dev_resume, | 1336 | .resume = yenta_dev_resume, |