Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PM: subsys_data in struct dev_pm_info need not depend on RM_RUNTIME

The subsys_data field of struct dev_pm_info, introduced by commit
1d2b71f61b6a10216274e27b717becf9ae101fc7 (PM / Runtime: Add subsystem
data field to struct dev_pm_info), is going to be used even if
CONFIG_PM_RUNTIME is not set, so move it from under the #ifdef.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

+1 -1
+1 -1
include/linux/pm.h
··· 461 461 unsigned long active_jiffies; 462 462 unsigned long suspended_jiffies; 463 463 unsigned long accounting_timestamp; 464 - void *subsys_data; /* Owned by the subsystem. */ 465 464 #endif 465 + void *subsys_data; /* Owned by the subsystem. */ 466 466 }; 467 467 468 468 extern void update_pm_runtime_accounting(struct device *dev);