diff options
-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 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 | */ | ||
74 | struct pm_dev; | ||
75 | |||
76 | typedef int (*pm_callback)(struct pm_dev *dev, pm_request_t rqst, void *data); | ||
77 | |||
78 | /* | ||
79 | * Dynamic device information | ||
80 | */ | ||
81 | struct 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 | ||