mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-27 03:49:57 -04:00
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
@@ -1005,7 +1005,7 @@ static int dcssblk_thaw(struct device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct dev_pm_ops dcssblk_pm_ops = {
|
||||
static const struct dev_pm_ops dcssblk_pm_ops = {
|
||||
.freeze = dcssblk_freeze,
|
||||
.thaw = dcssblk_thaw,
|
||||
.restore = dcssblk_restore,
|
||||
|
||||
@@ -407,7 +407,7 @@ static int xpram_restore(struct device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct dev_pm_ops xpram_pm_ops = {
|
||||
static const struct dev_pm_ops xpram_pm_ops = {
|
||||
.restore = xpram_restore,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user