lkml.org 
[lkml]   [2006]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[Suspend2][ 11/13] [Suspend2] Storage manager module ops.
    Date
    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/

    \
     
     \ /
      Last update: 2006-06-27 06:55    [W:0.019 / U:209.536 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site