hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9244H
---------------------------
Reserve space for drm_mode_config in drm_mode_config.h.
Signed-off-by: Wang Wensheng wangwensheng4@huawei.com --- include/drm/drm_mode_config.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/include/drm/drm_mode_config.h b/include/drm/drm_mode_config.h index 973119a9176b..df0d167c1524 100644 --- a/include/drm/drm_mode_config.h +++ b/include/drm/drm_mode_config.h @@ -28,6 +28,7 @@ #include <linux/idr.h> #include <linux/workqueue.h> #include <linux/llist.h> +#include <linux/kabi.h>
#include <drm/drm_modeset_lock.h>
@@ -955,6 +956,10 @@ struct drm_mode_config { struct drm_atomic_state *suspend_state;
const struct drm_mode_config_helper_funcs *helper_private; + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) };
int __must_check drmm_mode_config_init(struct drm_device *dev);