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:
committed by
Linus Torvalds
parent
0ead0f84e8
commit
471452104b
@@ -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,
|
||||
};
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user