]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/pm.h
pm: remove definition of struct pm_dev
[linux-2.6-omap-h63xx.git] / include / linux / pm.h
index 4ad9de94449a67d598ea51bbb9a322fdfbce8b11..5bf1ce89cfbb9dedb8a0a53e08bdfc23c450750f 100644 (file)
@@ -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.  */