提交 d4e74f9f 编写于 作者: C Chen Jiahao 提交者: Zheng Zengkai

KABI: reserve space for struct input_dev

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4QWCF
CVE: NA

--------

Reserving some fields in struct input_dev for future development.
Signed-off-by: NChen Jiahao <chenjiahao16@huawei.com>
Reviewed-by: NLiao Chang <liaochang1@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 c37d69df
......@@ -20,6 +20,7 @@
#include <linux/fs.h>
#include <linux/timer.h>
#include <linux/mod_devicetable.h>
#include <linux/kabi.h>
struct input_dev_poller;
......@@ -201,6 +202,9 @@ struct input_dev {
bool devres_managed;
ktime_t timestamp[INPUT_CLK_MAX];
KABI_RESERVE(1)
KABI_RESERVE(2)
};
#define to_input_dev(d) container_of(d, struct input_dev, dev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册