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> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: Id9daf7cf9ae5d94fb0134144f8220a241ccbaef8
This commit is contained in:
parent
854f9f2e6c
commit
d58a77ead7
@ -679,6 +679,8 @@ struct device_link {
|
||||
struct kref kref;
|
||||
struct work_struct rm_work;
|
||||
bool supplier_preactivated; /* Owned by consumer probe. */
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
ANDROID_KABI_RESERVE(2);
|
||||
};
|
||||
|
||||
static inline struct device *kobj_to_dev(struct kobject *kobj)
|
||||
|
@ -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;
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <linux/list.h>
|
||||
#include <linux/bits.h>
|
||||
#include <linux/err.h>
|
||||
#include <linux/android_kabi.h>
|
||||
|
||||
struct fwnode_operations;
|
||||
struct device;
|
||||
@ -45,6 +46,7 @@ struct fwnode_handle {
|
||||
struct list_head suppliers;
|
||||
struct list_head consumers;
|
||||
u8 flags;
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
};
|
||||
|
||||
/*
|
||||
@ -60,6 +62,9 @@ struct fwnode_link {
|
||||
struct fwnode_handle *consumer;
|
||||
struct list_head c_hook;
|
||||
u8 flags;
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
ANDROID_KABI_RESERVE(2);
|
||||
ANDROID_KABI_RESERVE(3);
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user