Commit 6afd66f5 authored by Wang Wensheng's avatar Wang Wensheng
Browse files

drm: Add kabi reserve in drm_mode_config.h

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: default avatarWang Wensheng <wangwensheng4@huawei.com>
parent 48f78a0e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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);