diff options
author | Pankaj Dubey <pankaj.dubey@samsung.com> | 2014-11-07 03:26:47 +0300 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-11-21 16:49:44 +0300 |
commit | 6b7bfd8292ab27180662bcba175e7a3822486c2d (patch) | |
tree | c6ff0ebc0d083121498b058ff973ae222683f790 /arch/arm/mach-exynos/exynos-pmu.h | |
parent | 14fc8b93d47323561edf5d482d4a4b3ee1b90286 (diff) | |
download | linux-6b7bfd8292ab27180662bcba175e7a3822486c2d.tar.xz |
ARM: EXYNOS: Move PMU specific definitions from common.h
This patch moves PMU specific definitions into a new file
as exynos-pmu.h.
This will help in reducing dependency of common.h in pmu.c.
Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/exynos-pmu.h')
-rw-r--r-- | arch/arm/mach-exynos/exynos-pmu.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/exynos-pmu.h b/arch/arm/mach-exynos/exynos-pmu.h new file mode 100644 index 000000000000..a2ab0d52b230 --- /dev/null +++ b/arch/arm/mach-exynos/exynos-pmu.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * + * Header for EXYNOS PMU Driver support + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __EXYNOS_PMU_H +#define __EXYNOS_PMU_H + +enum sys_powerdown { + SYS_AFTR, + SYS_LPA, + SYS_SLEEP, + NUM_SYS_POWERDOWN, +}; + +extern void exynos_sys_powerdown_conf(enum sys_powerdown mode); + +#endif /* __EXYNOS_PMU_H */ |