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/i2c | |
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/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-pxa.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-s3c2410.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-sh_mobile.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c index 049555777f67..7647a20523a0 100644 --- a/drivers/i2c/busses/i2c-pxa.c +++ b/drivers/i2c/busses/i2c-pxa.c | |||
@@ -1155,7 +1155,7 @@ static int i2c_pxa_resume_noirq(struct device *dev) | |||
1155 | return 0; | 1155 | return 0; |
1156 | } | 1156 | } |
1157 | 1157 | ||
1158 | static struct dev_pm_ops i2c_pxa_dev_pm_ops = { | 1158 | static const struct dev_pm_ops i2c_pxa_dev_pm_ops = { |
1159 | .suspend_noirq = i2c_pxa_suspend_noirq, | 1159 | .suspend_noirq = i2c_pxa_suspend_noirq, |
1160 | .resume_noirq = i2c_pxa_resume_noirq, | 1160 | .resume_noirq = i2c_pxa_resume_noirq, |
1161 | }; | 1161 | }; |
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index 96aafb91b69a..1d8c98613fa0 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c | |||
@@ -967,7 +967,7 @@ static int s3c24xx_i2c_resume(struct device *dev) | |||
967 | return 0; | 967 | return 0; |
968 | } | 968 | } |
969 | 969 | ||
970 | static struct dev_pm_ops s3c24xx_i2c_dev_pm_ops = { | 970 | static const struct dev_pm_ops s3c24xx_i2c_dev_pm_ops = { |
971 | .suspend_noirq = s3c24xx_i2c_suspend_noirq, | 971 | .suspend_noirq = s3c24xx_i2c_suspend_noirq, |
972 | .resume = s3c24xx_i2c_resume, | 972 | .resume = s3c24xx_i2c_resume, |
973 | }; | 973 | }; |
diff --git a/drivers/i2c/busses/i2c-sh_mobile.c b/drivers/i2c/busses/i2c-sh_mobile.c index 86a9d4e81472..ccc46418ef7f 100644 --- a/drivers/i2c/busses/i2c-sh_mobile.c +++ b/drivers/i2c/busses/i2c-sh_mobile.c | |||
@@ -647,7 +647,7 @@ static int sh_mobile_i2c_runtime_nop(struct device *dev) | |||
647 | return 0; | 647 | return 0; |
648 | } | 648 | } |
649 | 649 | ||
650 | static struct dev_pm_ops sh_mobile_i2c_dev_pm_ops = { | 650 | static const struct dev_pm_ops sh_mobile_i2c_dev_pm_ops = { |
651 | .runtime_suspend = sh_mobile_i2c_runtime_nop, | 651 | .runtime_suspend = sh_mobile_i2c_runtime_nop, |
652 | .runtime_resume = sh_mobile_i2c_runtime_nop, | 652 | .runtime_resume = sh_mobile_i2c_runtime_nop, |
653 | }; | 653 | }; |