Messages in this thread Patch in this message | | | From | Nigel Cunningham <> | Subject | [Suspend2][ 11/13] [Suspend2] Storage manager module ops. | Date | Tue, 27 Jun 2006 14:41:03 +1000 |
| |
Define the operations that the core can use to access storage manager functionality and data.
Signed-off-by: Nigel Cunningham <nigel@suspend2.net>
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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |