[<prev] [next>] [day] [month] [year] [list]
Message-ID: <A03916A9EAE8D346B5F2093CCA95C34346489DC7@IRSMSX101.ger.corp.intel.com>
Date: Tue, 19 Nov 2013 12:27:41 +0000
From: "Potenza, Leonardo" <leonardo.potenza@...el.com>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>
CC: "Verplanke, Edwin" <edwin.verplanke@...el.com>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] PM: export hibernation_set_ops
From: Leonardo Potenza <leonardo.potenza@...el.com>
To support the ability to implement PM hibernation code as modules
the hibernation_set_ops function requires to be exported.
Similar solution already available for suspend_set_ops
(please refer to commit a5e4fd8783a2bec861ecf1138cdc042269ff59aa).
Signed-off-by: Leonardo Potenza <leonardo.potenza@...el.com>
Signed-off-by: Edwin Verplanke <edwin.verplanke@...el.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
---
Index: linux/kernel/power/hibernate.c
===================================================================
--- linux.orig/kernel/power/hibernate.c
+++ linux/kernel/power/hibernate.c
@@ -82,6 +82,7 @@ void hibernation_set_ops(const struct pl
unlock_system_sleep();
}
+EXPORT_SYMBOL_GPL(hibernation_set_ops);
static bool entering_platform_hibernation;
--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists