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 void device_pm_add(struct device
*);
22 extern void device_pm_remove(struct device
*);
24 #else /* CONFIG_PM_SLEEP */
27 static inline void device_pm_add(struct device
*dev
)
31 static inline void device_pm_remove(struct device
*dev
)
43 extern int dpm_sysfs_add(struct device
*);
44 extern void dpm_sysfs_remove(struct device
*);
48 static inline int dpm_sysfs_add(struct device
*dev
)
53 static inline void dpm_sysfs_remove(struct device
*dev
)
This page took 0.036708 seconds and 5 git commands to generate.