diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2008-07-24 04:28:35 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 17:47:22 (GMT) |
commit | 558481f038e587b22d02167af58914c814ce9de5 (patch) | |
tree | 51a4e53192e81b17291d344860b5d40111b25b8d | |
parent | d75f65fd247fe85d90a3880d143b1bb22fe13a48 (diff) | |
download | linux-558481f038e587b22d02167af58914c814ce9de5.tar.xz |
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>
-rw-r--r-- | include/linux/pm.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h index 4ad9de9..5bf1ce8 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -68,30 +68,6 @@ enum */ #define PM_PCI_ID(dev) ((dev)->bus->number << 16 | (dev)->devfn) -/* - * Request handler callback - */ -struct pm_dev; - -typedef int (*pm_callback)(struct pm_dev *dev, pm_request_t rqst, void *data); - -/* - * Dynamic device information - */ -struct pm_dev -{ - pm_dev_t type; - unsigned long id; - pm_callback callback; - void *data; - - unsigned long flags; - unsigned long state; - unsigned long prev_state; - - struct list_head entry; -}; - /* Functions above this comment are list-based old-style power * management. Please avoid using them. */ |