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 | |
| 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>
76 files changed, 76 insertions, 76 deletions
diff --git a/arch/arm/plat-omap/debug-leds.c b/arch/arm/plat-omap/debug-leds.c index 6c768b71ad64..53fcef7c5201 100644 --- a/arch/arm/plat-omap/debug-leds.c +++ b/arch/arm/plat-omap/debug-leds.c | |||
| @@ -293,7 +293,7 @@ static int fpga_resume_noirq(struct device *dev) | |||
| 293 | return 0; | 293 | return 0; |
| 294 | } | 294 | } |
| 295 | 295 | ||
| 296 | static struct dev_pm_ops fpga_dev_pm_ops = { | 296 | static const struct dev_pm_ops fpga_dev_pm_ops = { |
| 297 | .suspend_noirq = fpga_suspend_noirq, | 297 | .suspend_noirq = fpga_suspend_noirq, |
| 298 | .resume_noirq = fpga_resume_noirq, | 298 | .resume_noirq = fpga_resume_noirq, |
| 299 | }; | 299 | }; |
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 055160e0620e..04846811d0aa 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c | |||
| @@ -1431,7 +1431,7 @@ static int omap_mpuio_resume_noirq(struct device *dev) | |||
| 1431 | return 0; | 1431 | return 0; |
| 1432 | } | 1432 | } |
| 1433 | 1433 | ||
| 1434 | static struct dev_pm_ops omap_mpuio_dev_pm_ops = { | 1434 | static const struct dev_pm_ops omap_mpuio_dev_pm_ops = { |
| 1435 | .suspend_noirq = omap_mpuio_suspend_noirq, | 1435 | .suspend_noirq = omap_mpuio_suspend_noirq, |
| 1436 | .resume_noirq = omap_mpuio_resume_noirq, | 1436 | .resume_noirq = omap_mpuio_resume_noirq, |
| 1437 | }; | 1437 | }; |
diff --git a/arch/s390/appldata/appldata_base.c b/arch/s390/appldata/appldata_base.c index 495589950dc7..5c91995b74e4 100644 --- a/arch/s390/appldata/appldata_base.c +++ b/arch/s390/appldata/appldata_base.c | |||
| @@ -551,7 +551,7 @@ static int appldata_thaw(struct device *dev) | |||
| 551 | return appldata_restore(dev); | 551 | return appldata_restore(dev); |
| 552 | } | 552 | } |
| 553 | 553 | ||
| 554 | static struct dev_pm_ops appldata_pm_ops = { | 554 | static const struct dev_pm_ops appldata_pm_ops = { |
| 555 | .freeze = appldata_freeze, | 555 | .freeze = appldata_freeze, |
| 556 | .thaw = appldata_thaw, | 556 | .thaw = appldata_thaw, |
| 557 | .restore = appldata_restore, | 557 | .restore = appldata_restore, |
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 5c01f747571b..d41d7f018549 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c | |||
| @@ -4162,7 +4162,7 @@ static int floppy_resume(struct device *dev) | |||
| 4162 | return 0; | 4162 | return 0; |
| 4163 | } | 4163 | } |
| 4164 | 4164 | ||
| 4165 | static struct dev_pm_ops floppy_pm_ops = { | 4165 | static const struct dev_pm_ops floppy_pm_ops = { |
| 4166 | .resume = floppy_resume, | 4166 | .resume = floppy_resume, |
| 4167 | .restore = floppy_resume, | 4167 | .restore = floppy_resume, |
| 4168 | }; | 4168 | }; |
diff --git a/drivers/char/hvc_iucv.c b/drivers/char/hvc_iucv.c index b8a5d654d3d0..fe62bd0e17b7 100644 --- a/drivers/char/hvc_iucv.c +++ b/drivers/char/hvc_iucv.c | |||
| @@ -931,7 +931,7 @@ static struct hv_ops hvc_iucv_ops = { | |||
| 931 | }; | 931 | }; |
| 932 | 932 | ||
| 933 | /* Suspend / resume device operations */ | 933 | /* Suspend / resume device operations */ |
| 934 | static struct dev_pm_ops hvc_iucv_pm_ops = { | 934 | static const struct dev_pm_ops hvc_iucv_pm_ops = { |
| 935 | .freeze = hvc_iucv_pm_freeze, | 935 | .freeze = hvc_iucv_pm_freeze, |
| 936 | .thaw = hvc_iucv_pm_restore_thaw, | 936 | .thaw = hvc_iucv_pm_restore_thaw, |
| 937 | .restore = hvc_iucv_pm_restore_thaw, | 937 | .restore = hvc_iucv_pm_restore_thaw, |
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index c52ac9efd0bf..f15112569c1d 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c | |||
| @@ -1188,7 +1188,7 @@ static int at_dma_resume_noirq(struct device *dev) | |||
| 1188 | return 0; | 1188 | return 0; |
| 1189 | } | 1189 | } |
| 1190 | 1190 | ||
| 1191 | static struct dev_pm_ops at_dma_dev_pm_ops = { | 1191 | static const struct dev_pm_ops at_dma_dev_pm_ops = { |
| 1192 | .suspend_noirq = at_dma_suspend_noirq, | ||
