aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pm.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2008-07-24 00:28:35 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 13:47:22 -0400
commit558481f038e587b22d02167af58914c814ce9de5 (patch)
tree51a4e53192e81b17291d344860b5d40111b25b8d /include/linux/pm.h
parentd75f65fd247fe85d90a3880d143b1bb22fe13a48 (diff)
pm: remove definition of struct pm_dev
Remove the definition of 'struct pm_dev', which is not used any more, along with some related stuff from include/linux/pm.h . Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/pm.h')
-rw-r--r--include/linux/pm.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h
index 4ad9de94449a..5bf1ce89cfbb 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -68,30 +68,6 @@ enum
68 */ 68 */
69#define PM_PCI_ID(dev) ((dev)->bus->number << 16 | (dev)->devfn) 69#define PM_PCI_ID(dev) ((dev)->bus->number << 16 | (dev)->devfn)
70 70
71/*
72 * Request handler callback
73 */
74struct pm_dev;
75
76typedef int (*pm_callback)(struct pm_dev *dev, pm_request_t rqst, void *data);
77
78/*
79 * Dynamic device information
80 */
81struct pm_dev
82{
83 pm_dev_t type;
84 unsigned long id;
85 pm_callback callback;
86 void *data;
87
88 unsigned long flags;
89 unsigned long state;
90 unsigned long prev_state;
91
92 struct list_head entry;
93};
94
95/* Functions above this comment are list-based old-style power 71/* Functions above this comment are list-based old-style power
96 * management. Please avoid using them. */ 72 * management. Please avoid using them. */
97 73