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>
This commit is contained in:
Alexey Dobriyan
2009-12-14 18:00:08 -08:00
committed by Linus Torvalds
parent 0ead0f84e8
commit 471452104b
76 changed files with 76 additions and 76 deletions
+1 -1
View File
@@ -319,7 +319,7 @@ static int adp5588_resume(struct device *dev)
return 0;
}
static struct dev_pm_ops adp5588_dev_pm_ops = {
static const struct dev_pm_ops adp5588_dev_pm_ops = {
.suspend = adp5588_suspend,
.resume = adp5588_resume,
};
+1 -1
View File
@@ -295,7 +295,7 @@ static int sh_keysc_resume(struct device *dev)
return 0;
}
static struct dev_pm_ops sh_keysc_dev_pm_ops = {
static const struct dev_pm_ops sh_keysc_dev_pm_ops = {
.suspend = sh_keysc_suspend,
.resume = sh_keysc_resume,
};
+1 -1
View File
@@ -247,7 +247,7 @@ static int bfin_rotary_resume(struct device *dev)
return 0;
}
static struct dev_pm_ops bfin_rotary_pm_ops = {
static const struct dev_pm_ops bfin_rotary_pm_ops = {
.suspend = bfin_rotary_suspend,
.resume = bfin_rotary_resume,
};
+1 -1
View File
@@ -127,7 +127,7 @@ static void pcspkr_shutdown(struct platform_device *dev)
pcspkr_event(NULL, EV_SND, SND_BELL, 0);
}
static struct dev_pm_ops pcspkr_pm_ops = {
static const struct dev_pm_ops pcspkr_pm_ops = {
.suspend = pcspkr_suspend,
};
+1 -1
View File
@@ -233,7 +233,7 @@ static int pcap_ts_resume(struct device *dev)
return 0;
}
static struct dev_pm_ops pcap_ts_pm_ops = {
static const struct dev_pm_ops pcap_ts_pm_ops = {
.suspend = pcap_ts_suspend,
.resume = pcap_ts_resume,
};