[Suspend2][ 11/13] [Suspend2] Storage manager module ops.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Define the operations that the core can use to access storage manager
functionality and data.

Signed-off-by: Nigel Cunningham <[email protected]>

 kernel/power/storage.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/kernel/power/storage.c b/kernel/power/storage.c
index c8f85db..885501b 100644
--- a/kernel/power/storage.c
+++ b/kernel/power/storage.c
@@ -284,3 +284,13 @@ static struct suspend_proc_data proc_par
 #endif
 };
 
+static struct suspend_module_ops usm_ops = {
+	.type				= MISC_MODULE,
+	.name				= "Userspace Storage Manager",
+	.module				= THIS_MODULE,
+	.storage_needed			= usm_storage_needed,
+	.save_config_info		= usm_save_config_info,
+	.load_config_info		= usm_load_config_info,
+	.memory_needed			= usm_memory_needed,
+};
+       

--
Nigel Cunningham		nigel at suspend2 dot net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux