5 extern void device_shutdown(void);
14 extern struct list_head dpm_active; /* The active device list */
16 static inline struct device * to_device(struct list_head * entry)
18 return container_of(entry, struct device, power.entry);
21 extern int device_pm_add(struct device *);
22 extern void device_pm_remove(struct device *);
28 extern int dpm_sysfs_add(struct device *);
29 extern void dpm_sysfs_remove(struct device *);
31 #else /* CONFIG_PM_SLEEP */
34 static inline int device_pm_add(struct device * dev)
38 static inline void device_pm_remove(struct device * dev)