diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-18 17:53:53 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-12-18 17:53:53 +0000 |
commit | db831511d2091907eef52519ebcc47f54cfd6d33 (patch) | |
tree | 9f9c7fba156b00e4bc76030988ecf32839f622ce /target/linux/goldfish/patches-2.6.30/0065-PM-Add-early-suspend-api.patch | |
parent | 979bc5536dd4960748cc7a96426abdc8ace15131 (diff) | |
download | mtk-20170518-db831511d2091907eef52519ebcc47f54cfd6d33.zip mtk-20170518-db831511d2091907eef52519ebcc47f54cfd6d33.tar.gz mtk-20170518-db831511d2091907eef52519ebcc47f54cfd6d33.tar.bz2 |
goldfish: R.I.P.
It is broken and it is not maintained by anyone since long time.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34766
Diffstat (limited to 'target/linux/goldfish/patches-2.6.30/0065-PM-Add-early-suspend-api.patch')
-rw-r--r-- | target/linux/goldfish/patches-2.6.30/0065-PM-Add-early-suspend-api.patch | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/target/linux/goldfish/patches-2.6.30/0065-PM-Add-early-suspend-api.patch b/target/linux/goldfish/patches-2.6.30/0065-PM-Add-early-suspend-api.patch deleted file mode 100644 index 02adef6..0000000 --- a/target/linux/goldfish/patches-2.6.30/0065-PM-Add-early-suspend-api.patch +++ /dev/null @@ -1,69 +0,0 @@ -From 4f76252afe98fd017894e61c296bc61836e67a4a Mon Sep 17 00:00:00 2001 -From: =?utf-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= <arve@android.com> -Date: Fri, 26 Sep 2008 22:10:56 -0700 -Subject: [PATCH 065/134] PM: Add early suspend api. - ---- - include/linux/earlysuspend.h | 56 ++++++++++++++++++++++++++++++++++++++++++ - 1 files changed, 56 insertions(+), 0 deletions(-) - create mode 100755 include/linux/earlysuspend.h - ---- /dev/null -+++ b/include/linux/earlysuspend.h -@@ -0,0 +1,56 @@ -+/* include/linux/earlysuspend.h -+ * -+ * Copyright (C) 2007-2008 Google, Inc. -+ * -+ * This software is licensed under the terms of the GNU General Public -+ * License version 2, as published by the Free Software Foundation, and -+ * may be copied, distributed, and modified under those terms. -+ * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ * GNU General Public License for more details. -+ * -+ */ -+ -+#ifndef _LINUX_EARLYSUSPEND_H -+#define _LINUX_EARLYSUSPEND_H -+ -+#ifdef CONFIG_HAS_EARLYSUSPEND -+#include <linux/list.h> -+#endif -+ -+/* The early_suspend structure defines suspend and resume hooks to be called -+ * when the user visible sleep state of the system changes, and a level to -+ * control the order. They can be used to turn off the screen and input -+ * devices that are not used for wakeup. -+ * Suspend handlers are called in low to high level order, resume handlers are -+ * called in the opposite order. If, when calling register_early_suspend, -+ * the suspend handlers have already been called without a matching call to the -+ * resume handlers, the suspend handler will be called directly from -+ * register_early_suspend. This direct call can violate the normal level order. -+ */ -+enum { -+ EARLY_SUSPEND_LEVEL_BLANK_SCREEN = 50, -+ EARLY_SUSPEND_LEVEL_STOP_DRAWING = 100, -+ EARLY_SUSPEND_LEVEL_DISABLE_FB = 150, -+}; -+struct early_suspend { -+#ifdef CONFIG_HAS_EARLYSUSPEND -+ struct list_head link; -+ int level; -+ void (*suspend)(struct early_suspend *h); -+ void (*resume)(struct early_suspend *h); -+#endif -+}; -+ -+#ifdef CONFIG_HAS_EARLYSUSPEND -+void register_early_suspend(struct early_suspend *handler); -+void unregister_early_suspend(struct early_suspend *handler); -+#else -+#define register_early_suspend(handler) do { } while (0) -+#define unregister_early_suspend(handler) do { } while (0) -+#endif -+ -+#endif -+ |