From: re.emese on
From: Emese Revfy <re.emese(a)gmail.com>


Signed-off-by: Emese Revfy <re.emese(a)gmail.com>
---
kernel/power/hibernate.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c
index bbfe472..2766523 100644
--- a/kernel/power/hibernate.c
+++ b/kernel/power/hibernate.c
@@ -49,14 +49,14 @@ enum {

static int hibernation_mode = HIBERNATION_SHUTDOWN;

-static struct platform_hibernation_ops *hibernation_ops;
+static const struct platform_hibernation_ops *hibernation_ops;

/**
* hibernation_set_ops - set the global hibernate operations
* @ops: the hibernation operations to use in subsequent hibernation transitions
*/

-void hibernation_set_ops(struct platform_hibernation_ops *ops)
+void hibernation_set_ops(const struct platform_hibernation_ops *ops)
{
if (ops && !(ops->begin && ops->end && ops->pre_snapshot
&& ops->prepare && ops->finish && ops->enter && ops->pre_restore
--
1.6.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/