Commit 129e4923 authored by Wang ShaoBo's avatar Wang ShaoBo Committed by Zheng Zengkai
Browse files

kabi: reserve space for fwnode.h

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4KFY7?from=project-issue


CVE: NA

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

reserve space for struct fwnode_handle and fwnode_operations.

Signed-off-by: default avatarWang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by: default avatarCheng Jian <cj.chengjian@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent b75593fd
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
#define _LINUX_FWNODE_H_

#include <linux/types.h>
#include <linux/kabi.h>

struct fwnode_operations;
struct device;
@@ -18,6 +19,8 @@ struct fwnode_handle {
	struct fwnode_handle *secondary;
	const struct fwnode_operations *ops;
	struct device *dev;
	KABI_RESERVE(1)
	KABI_RESERVE(2)
};

/**
@@ -147,6 +150,10 @@ struct fwnode_operations {
				    struct fwnode_endpoint *endpoint);
	int (*add_links)(const struct fwnode_handle *fwnode,
			 struct device *dev);
	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

#define fwnode_has_op(fwnode, op)				\