ANDROID: GKI: add some padding to some driver core structures

These structures are fundamental to implementing fw_devlink and
sync_state(). Since they are still evolving, add some padding in case we
need to backport any important bug fixes.

	struct device_link
	struct class
	struct fwnode_handle
	struct fwnode_link

Bug: 183615740
Signed-off-by: Saravana Kannan <saravanak@google.com>
Change-Id: Id9daf7cf9ae5d94fb0134144f8220a241ccbaef8
This commit is contained in:
Saravana Kannan
2021-03-24 09:22:59 -07:00
parent 2fa0951b66
commit 54539dfef4
3 changed files with 9 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
#include <linux/klist.h>
#include <linux/pm.h>
#include <linux/device/bus.h>
#include <linux/android_kabi.h>
struct device;
struct fwnode_handle;
@@ -75,6 +76,7 @@ struct class {
const struct dev_pm_ops *pm;
struct subsys_private *p;
ANDROID_KABI_RESERVE(1);
};
struct class_dev_iter {