projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
suspend: constify platform_suspend_ops
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
mach-pnx4008
/
pm.c
diff --git
a/arch/arm/mach-pnx4008/pm.c
b/arch/arm/mach-pnx4008/pm.c
index ee3c29c57ae3b3bb204a5da93705188af1ab09f9..f3e60a049f983c5eb79c20646137f3b2c17f2806 100644
(file)
--- a/
arch/arm/mach-pnx4008/pm.c
+++ b/
arch/arm/mach-pnx4008/pm.c
@@
-119,7
+119,7
@@
static int pnx4008_pm_valid(suspend_state_t state)
(state == PM_SUSPEND_MEM);
}
-static struct platform_suspend_ops pnx4008_pm_ops = {
+static
const
struct platform_suspend_ops pnx4008_pm_ops = {
.enter = pnx4008_pm_enter,
.valid = pnx4008_pm_valid,
};