Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc6e4e56 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

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
1d2b71f6 (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: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 564b905a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -461,8 +461,8 @@ struct dev_pm_info {
	unsigned long		active_jiffies;
	unsigned long		suspended_jiffies;
	unsigned long		accounting_timestamp;
	void			*subsys_data;  /* Owned by the subsystem. */
#endif
	void			*subsys_data;  /* Owned by the subsystem. */
};

extern void update_pm_runtime_accounting(struct device *dev);