1 /* include/linux/partialsuspend_slp.h
3 * Copyright (C) 2012 SAMSUNG, Inc.
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
16 #ifndef _LINUX_PARTIALSUSPEND_H
17 #define _LINUX_PARTIALSUSPEND_H
19 #include <linux/list.h>
22 struct list_head link;
24 void (*suspend)(struct pre_suspend *h);
25 void (*resume)(struct pre_suspend *h);
28 struct suspend_status_struct {
34 void register_pre_suspend(struct pre_suspend *handler);
35 void unregister_pre_suspend(struct pre_suspend *handler);