From 3121af55f328c87e8053d6e1580c25d1290899ef Mon Sep 17 00:00:00 2001 From: Zicheng Qu Date: Fri, 20 Dec 2024 06:19:57 +0000 Subject: [PATCH] kabi reserver space for i2c hulk inclusion category: other bugzilla: https://gitee.com/openeuler/kernel/issues/IBAZ3A -------------------------------- Add KABI_RESERVE macros for i2c_adapter. Signed-off-by: Zicheng Qu --- include/linux/i2c.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 32cf5708d5a5..3fd6932bf8cd 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -746,6 +746,9 @@ struct i2c_adapter { struct irq_domain *host_notify_domain; struct regulator *bus_regulator; + + KABI_RESERVE(1) + KABI_RESERVE(2) }; #define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev) -- Gitee