Commit e2d451c4 authored by Lin Yujun's avatar Lin Yujun
Browse files

pm: pm.h: Add kabi_reserve

hulk inclusion
bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G


CVE: NA

---------------------------------------------

Add kabi_reserve in pm.h

Signed-off-by: default avatarLin Yujun <linyujun809@huawei.com>
parent d821610f
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
#include <linux/timer.h>
#include <linux/hrtimer.h>
#include <linux/completion.h>
#include <linux/kabi.h>

/*
 * Callbacks for platform drivers to implement.
@@ -600,6 +601,10 @@ enum rpm_status {
	RPM_RESUMING,
	RPM_SUSPENDED,
	RPM_SUSPENDING,
	RPM_KABI_RESERVE_1,
	RPM_KABI_RESERVE_2,
	RPM_KABI_RESERVE_3,
	RPM_KABI_RESERVE_4,
};

/*
@@ -640,6 +645,9 @@ struct pm_subsys_data {
#ifdef CONFIG_PM_GENERIC_DOMAINS
	struct pm_domain_data *domain_data;
#endif

	KABI_RESERVE(1)
	KABI_RESERVE(2)
};

/*
@@ -720,6 +728,9 @@ struct dev_pm_info {
	struct pm_subsys_data	*subsys_data;  /* Owned by the subsystem. */
	void (*set_latency_tolerance)(struct device *, s32);
	struct dev_pm_qos	*qos;

	KABI_RESERVE(1)
	KABI_RESERVE(2)
};

extern int dev_pm_get_subsys_data(struct device *dev);