aboutsummaryrefslogtreecommitdiff
path: root/include/linux/early_suspend_sysfs.h
blob: fb99d3d0a7ff8d40a893c73016ef694faf5b2386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * early_suspend_sysfs.h: Early suspend sysfs header file
 *
 * (C) Copyright 2013 Intel Corporation
 * Author: Sathyanarayanan KN(sathyanarayanan.kuppuswamy@intel.com)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; version 2
 * of the License.
 */

#ifndef _LINUX_EARLY_SUSPEND_SYSFS_H
#define _LINUX_EARLY_SUSPEND_SYSFS_H

#define EARLY_SUSPEND_STATUS_LEN 1
#define EARLY_SUSPEND_ON  "1"
#define EARLY_SUSPEND_OFF "0"

struct device;
int register_early_suspend_device(struct device *dev);
void unregister_early_suspend_device(struct device *dev);
#endif